質問編集履歴

6

thrsynbrs

2020/06/09 00:58

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -202,88 +202,8 @@
202
202
 
203
203
  Ruby on rails 6.0.3.1
204
204
 
205
- PostgreSQL 13beta1
205
+ ~~PostgreSQL 13beta1~~
206
+
207
+ PostgreSQL 12.3
206
208
 
207
209
  テキストエディタ Atom
208
-
209
-
210
-
211
-
212
-
213
- ### 追記
214
-
215
- Topページにアクセスすると「Application error」なのでheroku logs
216
-
217
- 一部省略
218
-
219
- ```
220
-
221
- 2020-06-07T03:58:05.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
222
-
223
- 2020-06-07T03:58:42.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/fe857203-94db-41e7-b745-d2da28d2748e
224
-
225
- 2020-06-07T04:16:40.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
226
-
227
- 2020-06-07T04:17:17.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/ea880b91-5961-4695-85e5-91dc48de569a
228
-
229
- 2020-06-07T04:22:58.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
230
-
231
- 2020-06-07T04:23:33.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/c6629d34-34ac-46c9-aeee-f80dfc457527
232
-
233
- 2020-06-07T04:51:14.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
234
-
235
- 2020-06-07T04:51:24.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/4645b331-b788-4866-82dd-eaae60147e94
236
-
237
- 2020-06-07T05:03:57.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
238
-
239
- 2020-06-07T05:04:31.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/6110ffab-eb44-493d-8780-890d7c82b406
240
-
241
- 2020-06-07T05:13:28.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
242
-
243
- 2020-06-07T05:14:04.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/c4e52576-48eb-4121-944a-7da3c69c289d
244
-
245
- 2020-06-07T05:20:19.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
246
-
247
- 2020-06-07T05:20:53.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/19a8e0af-6822-4a6d-b5d0-8c4f08e7bfa3
248
-
249
- 2020-06-07T05:24:47.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
250
-
251
- 2020-06-07T05:25:22.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/d5e33e73-ca9d-4a7c-9fc9-973caa1354ee
252
-
253
- 2020-06-07T05:29:54.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
254
-
255
- 2020-06-07T05:30:28.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/0ee27322-7bcb-4108-a991-ea7a517051ee
256
-
257
- 2020-06-07T06:28:41.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
258
-
259
- 2020-06-07T06:29:21.166813+00:00 app[api]: Deploy 554720f8 by user ionamata007@gmail.com
260
-
261
- 2020-06-07T06:29:21.166813+00:00 app[api]: Release v98 created by user ionamata007@gmail.com
262
-
263
- 2020-06-07T06:29:31.410351+00:00 app[web.1]: npm ERR! missing script: start
264
-
265
- 2020-06-07T06:29:31.418648+00:00 app[web.1]:
266
-
267
- 2020-06-07T06:29:31.418995+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
268
-
269
- 2020-06-07T06:29:31.419155+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-06-07T06_29_31_411Z-debug.log
270
-
271
- 2020-06-07T06:29:32.000000+00:00 app[api]: Build succeeded
272
-
273
- 2020-06-07T06:29:40.995494+00:00 heroku[web.1]: State changed from starting to crashed
274
-
275
- 2020-06-07T06:29:40.912416+00:00 app[web.1]: npm ERR! missing script: start
276
-
277
- 2020-06-07T06:29:40.919916+00:00 app[web.1]:
278
-
279
- 2020-06-07T06:29:40.920241+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
280
-
281
- 2020-06-07T06:29:40.920390+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-06-07T06_29_40_913Z-debug.log
282
-
283
- 2020-06-07T06:31:12.619320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=butube.herokuapp.com request_id=48d2ef34-e572-4c73-b685-a6241a5a567d fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
284
-
285
- 2020-06-07T06:31:12.617906+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=butube.herokuapp.com request_id=cdc546b8-7804-4054-834c-c4bcb1de5658 fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
286
-
287
- 2020-06-07T06:31:15.229823+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=butube.herokuapp.com request_id=943136bf-c896-4186-a25c-a448a85e3ba1 fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
288
-
289
- ```

5

heroku logsの更新

2020/06/09 00:58

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -208,44 +208,82 @@
208
208
 
209
209
 
210
210
 
211
- 失礼な点があるかもしれませんがどうぞ宜しくおねがい致します。
212
-
213
211
 
214
212
 
215
213
  ### 追記
216
214
 
217
- Gemfileに「gem 'webpacker', '2.0'を追記してHerokuにデプロイしようとすると失敗します。
218
-
219
- ビルドログ(一部省略)
220
-
221
- ```
222
-
223
- -----> Ruby app detected
224
-
225
- /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:6:in `<class:FileLoader>': undefined method `class_attribute' for Webpacker::FileLoader:Class (NoMethodError)
226
-
227
- from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:2:in `<top (required)>'
228
-
229
- from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `require'
230
-
231
- from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `<top (required)>'
232
-
233
- from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `require'
234
-
235
- from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `<top (required)>'
236
-
237
- from ./bin/webpack:12:in `require'
238
-
239
- from ./bin/webpack:12:in `<main>'
240
-
241
- !
242
-
243
- ! Precompiling assets failed.
244
-
245
- !
246
-
247
- ! Push rejected, failed to compile Ruby app.
248
-
249
- ! Push failed
250
-
251
- ```
215
+ TopページアクセスするとApplication errorなのでheroku logs
216
+
217
+ 一部省略
218
+
219
+ ```
220
+
221
+ 2020-06-07T03:58:05.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
222
+
223
+ 2020-06-07T03:58:42.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/fe857203-94db-41e7-b745-d2da28d2748e
224
+
225
+ 2020-06-07T04:16:40.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
226
+
227
+ 2020-06-07T04:17:17.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/ea880b91-5961-4695-85e5-91dc48de569a
228
+
229
+ 2020-06-07T04:22:58.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
230
+
231
+ 2020-06-07T04:23:33.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/c6629d34-34ac-46c9-aeee-f80dfc457527
232
+
233
+ 2020-06-07T04:51:14.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
234
+
235
+ 2020-06-07T04:51:24.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/4645b331-b788-4866-82dd-eaae60147e94
236
+
237
+ 2020-06-07T05:03:57.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
238
+
239
+ 2020-06-07T05:04:31.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/6110ffab-eb44-493d-8780-890d7c82b406
240
+
241
+ 2020-06-07T05:13:28.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
242
+
243
+ 2020-06-07T05:14:04.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/c4e52576-48eb-4121-944a-7da3c69c289d
244
+
245
+ 2020-06-07T05:20:19.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
246
+
247
+ 2020-06-07T05:20:53.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/19a8e0af-6822-4a6d-b5d0-8c4f08e7bfa3
248
+
249
+ 2020-06-07T05:24:47.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
250
+
251
+ 2020-06-07T05:25:22.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/d5e33e73-ca9d-4a7c-9fc9-973caa1354ee
252
+
253
+ 2020-06-07T05:29:54.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
254
+
255
+ 2020-06-07T05:30:28.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/09ef81ea-3123-47d3-8cf2-27955e8ff177/activity/builds/0ee27322-7bcb-4108-a991-ea7a517051ee
256
+
257
+ 2020-06-07T06:28:41.000000+00:00 app[api]: Build started by user ionamata007@gmail.com
258
+
259
+ 2020-06-07T06:29:21.166813+00:00 app[api]: Deploy 554720f8 by user ionamata007@gmail.com
260
+
261
+ 2020-06-07T06:29:21.166813+00:00 app[api]: Release v98 created by user ionamata007@gmail.com
262
+
263
+ 2020-06-07T06:29:31.410351+00:00 app[web.1]: npm ERR! missing script: start
264
+
265
+ 2020-06-07T06:29:31.418648+00:00 app[web.1]:
266
+
267
+ 2020-06-07T06:29:31.418995+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
268
+
269
+ 2020-06-07T06:29:31.419155+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-06-07T06_29_31_411Z-debug.log
270
+
271
+ 2020-06-07T06:29:32.000000+00:00 app[api]: Build succeeded
272
+
273
+ 2020-06-07T06:29:40.995494+00:00 heroku[web.1]: State changed from starting to crashed
274
+
275
+ 2020-06-07T06:29:40.912416+00:00 app[web.1]: npm ERR! missing script: start
276
+
277
+ 2020-06-07T06:29:40.919916+00:00 app[web.1]:
278
+
279
+ 2020-06-07T06:29:40.920241+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
280
+
281
+ 2020-06-07T06:29:40.920390+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-06-07T06_29_40_913Z-debug.log
282
+
283
+ 2020-06-07T06:31:12.619320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=butube.herokuapp.com request_id=48d2ef34-e572-4c73-b685-a6241a5a567d fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
284
+
285
+ 2020-06-07T06:31:12.617906+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=butube.herokuapp.com request_id=cdc546b8-7804-4054-834c-c4bcb1de5658 fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
286
+
287
+ 2020-06-07T06:31:15.229823+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=butube.herokuapp.com request_id=943136bf-c896-4186-a25c-a448a85e3ba1 fwd="133.201.148.96" dyno= connect= service= status=503 bytes= protocol=https
288
+
289
+ ```

4

ビルドログの更新

2020/06/07 06:42

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -214,7 +214,7 @@
214
214
 
215
215
  ### 追記
216
216
 
217
- Gemfileに「gem 'webpacker'」を追記してHerokuにデプロイしようとすると失敗します。
217
+ Gemfileに「gem 'webpacker', '2.0'」を追記してHerokuにデプロイしようとすると失敗します。
218
218
 
219
219
  ビルドログ(一部省略)
220
220
 
@@ -222,49 +222,21 @@
222
222
 
223
223
  -----> Ruby app detected
224
224
 
225
- yarn install v1.16.0
226
-
227
- [1/4] Resolving packages...
228
-
229
- [2/4] Fetching packages...
230
-
231
- info fsevents@1.2.13: The platform "linux" is incompatible with this module.
232
-
233
- info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
234
-
235
- [3/4] Linking dependencies...
236
-
237
- warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
238
-
239
- warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".
240
-
241
- [4/4] Building fresh packages...
242
-
243
- Done in 5.76s.
244
-
245
- Webpacker is installed ???? ????
246
-
247
- Using /tmp/build_649585b06cc96754fe75cf0038f1c56b/config/webpacker.yml file for setting up webpack paths
248
-
249
- [Webpacker] Compiling assets ????
250
-
251
- [Webpacker] Compilation Failed
252
-
253
- /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:6:in `<class:FileLoader>': undefined method `class_attribute' for Webpacker::FileLoader:Class (NoMethodError)
254
-
255
- from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:2:in `<top (required)>'
256
-
257
- from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `require'
258
-
259
- from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `<top (required)>'
260
-
261
- from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `require'
262
-
263
- from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `<top (required)>'
225
+ /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:6:in `<class:FileLoader>': undefined method `class_attribute' for Webpacker::FileLoader:Class (NoMethodError)
226
+
227
+ from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:2:in `<top (required)>'
228
+
229
+ from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `require'
230
+
231
+ from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `<top (required)>'
232
+
233
+ from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `require'
234
+
235
+ from /tmp/build_a1e9535fd68dca5109343b29edcf423a/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `<top (required)>'
264
236
 
265
237
  from ./bin/webpack:12:in `require'
266
238
 
267
- from ./bin/webpack:12:in `<main>'
239
+ from ./bin/webpack:12:in `<main>'
268
240
 
269
241
  !
270
242
 

3

ビルドログの更新

2020/06/07 05:43

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -220,6 +220,60 @@
220
220
 
221
221
  ```
222
222
 
223
- error Command "webpack" not found.
224
-
225
- ```
223
+ -----> Ruby app detected
224
+
225
+ yarn install v1.16.0
226
+
227
+ [1/4] Resolving packages...
228
+
229
+ [2/4] Fetching packages...
230
+
231
+ info fsevents@1.2.13: The platform "linux" is incompatible with this module.
232
+
233
+ info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
234
+
235
+ [3/4] Linking dependencies...
236
+
237
+ warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
238
+
239
+ warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".
240
+
241
+ [4/4] Building fresh packages...
242
+
243
+ Done in 5.76s.
244
+
245
+ Webpacker is installed ???? ????
246
+
247
+ Using /tmp/build_649585b06cc96754fe75cf0038f1c56b/config/webpacker.yml file for setting up webpack paths
248
+
249
+ [Webpacker] Compiling assets ????
250
+
251
+ [Webpacker] Compilation Failed
252
+
253
+ /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:6:in `<class:FileLoader>': undefined method `class_attribute' for Webpacker::FileLoader:Class (NoMethodError)
254
+
255
+ from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/file_loader.rb:2:in `<top (required)>'
256
+
257
+ from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `require'
258
+
259
+ from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker/env.rb:2:in `<top (required)>'
260
+
261
+ from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `require'
262
+
263
+ from /tmp/build_649585b06cc96754fe75cf0038f1c56b/vendor/bundle/ruby/2.6.0/gems/webpacker-2.0/lib/webpacker.rb:20:in `<top (required)>'
264
+
265
+ from ./bin/webpack:12:in `require'
266
+
267
+ from ./bin/webpack:12:in `<main>'
268
+
269
+ !
270
+
271
+ ! Precompiling assets failed.
272
+
273
+ !
274
+
275
+ ! Push rejected, failed to compile Ruby app.
276
+
277
+ ! Push failed
278
+
279
+ ```

2

<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>

2020/06/07 04:26

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
48
48
 
49
- <%= javascript_path 'application', 'data-turbolinks-track': 'reload' %>
49
+ <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
50
50
 
51
51
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
52
52
 

1

Gemfileに追記した結果

2020/06/07 04:05

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -209,3 +209,17 @@
209
209
 
210
210
 
211
211
  失礼な点があるかもしれませんがどうぞ宜しくおねがい致します。
212
+
213
+
214
+
215
+ ### 追記
216
+
217
+ Gemfileに「gem 'webpacker'」を追記してHerokuにデプロイしようとすると失敗します。
218
+
219
+ ビルドログ(一部省略)
220
+
221
+ ```
222
+
223
+ error Command "webpack" not found.
224
+
225
+ ```