{"id":249,"date":"2020-10-04T12:13:32","date_gmt":"2020-10-04T03:13:32","guid":{"rendered":"https:\/\/tech.aoiblog.net\/?p=249"},"modified":"2020-10-04T12:13:32","modified_gmt":"2020-10-04T03:13:32","slug":"precompiling-assets-failed-%e3%81%a8%e3%81%84%e3%81%86%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%97%e3%81%9f%e8%a9%b1","status":"publish","type":"post","link":"https:\/\/tech.aoiblog.net\/?p=249","title":{"rendered":"Precompiling assets failed. \u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u8a71"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3001\u3042\u304a\u3044(<a href=\"https:\/\/twitter.com\/aoi_programming\">@aoi_programmer<\/a>)\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u65e5\u306fheroku\u3067\u30a2\u30d7\u30b1\u30fc\u30b7\u30e7\u30f3\u3092<code>git push heroku master<\/code>\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u8a71\u3068\u89e3\u6c7a\u7b56\u3092\u8a71\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>! &#91;remote rejected] master -> master (pre-receive hook declined)\nerror: failed to push some refs to 'https:\/\/git.heroku.com\/\u30a2\u30d7\u30ea\u540d<\/code><\/pre>\n\n\n\n<p>\u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3001\u305d\u306e\u4e0a\u306e\u30ed\u30b0\u3092\u9061\u308b\u3068<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>remote:  !\nremote:  !     Precompiling assets failed.\nremote:  !<\/code><\/pre>\n\n\n\n<p>\u3053\u3093\u306a\u306e\u304c\u51fa\u3066\u305f\u3001\u306a\u3093\u3084\u306d\u3093\u3053\u308c\u7b11<\/p>\n\n\n\n<p>\u6700\u521d\u306f<code>remote rejected<\/code>\u306e\u65b9\u3092\u691c\u7d22\u3057\u305f\u308a\u3001\u89e3\u6c7a\u3057\u3088\u3046\u3068\u601d\u3063\u3066\u9811\u5f35\u3063\u3066\u305f\u3051\u3069\u3001\u5168\u7136\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u3060\u304b\u3089\u3082\u3063\u3068\u30ed\u30b0\u3092\u9061\u308d\u3046\u3068\u601d\u3044\u3001\u9061\u308b\u3068\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ERROR in .\/app\/javascript\/memo.js\nremote:        Module build failed (from .\/node_modules\/babel-loader\/lib\/index.js):\nremote:        SyntaxError: \/tmp\/build_ea84cd07\/app\/javascript\/memo.js: Unexpected token, expected \";\" (1:9)<\/code><\/pre>\n\n\n\n<p>\u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u6587\u304c\u3042\u3063\u305f\u3002<br>\u3053\u308c\u3084\u3093\u3051\uff01\u3068\u601d\u3044\u3001\u3059\u3050\u306bVSCode\u3092\u958b\u3044\u305f\u3089\u3001\u3061\u3083\u3093\u3068\u9593\u9055\u3063\u305f\u8a18\u8ff0\u304c\u3055\u308c\u3066\u3044\u3066\u3001\u5149\u306e\u901f\u5ea6\u3067\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3093\u3067\u3001\u307e\u305f<code>git push heroku master<\/code>\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u307e\u305f\u540c\u3058\u30a8\u30e9\u30fc\u3002<\/p>\n\n\n\n<p>\u3069\u3046\u3044\u3046\u3053\u3068\uff1f<\/p>\n\n\n\n<p>\u3068\u601d\u3044\u3064\u3064\u3082\u8a66\u884c\u932f\u8aa4\u3057\u3066\u305f\u3089\u3001\u3075\u3068\u6c17\u304c\u3064\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u300c\u3042\u3001GitHub Desktop\u3067commit\u3059\u308b\u306e\u5fd8\u308c\u3066\u305f\u300d<\/strong><\/p>\n\n\n\n<p class=\"big red\">\u3053\u308c\u3067\u3059\uff01\u3053\u308c\u304c\u539f\u56e0\u3067\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u3059\u3050\u306bGitHub Desktop\u306b\u3066git commit\u3057\u3066\u3001<br>\u518d\u3073<code>git push heroku master<\/code>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3046\u307e\u304f\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u610f\u5916\u3068\u521d\u6b69\u7684\u306a\u30df\u30b9\u3092\u3057\u304c\u3061\u306a\u3042\u304a\u3044(<a href=\"https:\/\/twitter.com\/aoi_programming\">@aoi_programmer<\/a>)\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u73fe\u5834\u304b\u3089\u306f\u4ee5\u4e0a\u3067\u30fc\u3059<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u3042\u304a\u3044(@aoi_programmer)\u3067\u3059\u3002 \u4eca\u65e5\u306fheroku\u3067\u30a2\u30d7\u30b1\u30fc\u30b7\u30e7\u30f3\u3092git push heroku master\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u8a71\u3068\u89e3\u6c7a\u7b56\u3092\u8a71\u3057\u307e\u3059 \u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3001\u305d\u306e\u4e0a\u306e\u30ed &#8230; <\/p>\n","protected":false},"author":1,"featured_media":100,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/posts\/249"}],"collection":[{"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":1,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions\/250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=\/wp\/v2\/media\/100"}],"wp:attachment":[{"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.aoiblog.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}