質問編集履歴

1

logが取れたので追記

2020/01/23 07:44

投稿

kdayo
kdayo

スコア12

test CHANGED
File without changes
test CHANGED
@@ -176,7 +176,9 @@
176
176
 
177
177
  ```
178
178
 
179
+ ## error
180
+
179
- ### heroku release log でこのように表示される
181
+ #### heroku release log でこのように表示される
180
182
 
181
183
  ```
182
184
 
@@ -211,3 +213,57 @@
211
213
  from bin/rails:3:in `<main>'
212
214
 
213
215
  ```
216
+
217
+
218
+
219
+ #### heroku logs --tailでエラーが取れた
220
+
221
+ bundle installできていない?
222
+
223
+ ```
224
+
225
+ 2020-01-23T07:42:31.910022+00:00 heroku[front.1]: State changed from crashed to starting
226
+
227
+ 2020-01-23T07:42:34.409834+00:00 heroku[front.1]: Starting process with command `./node_modules/react-scripts/bin/react-scripts.js start`
228
+
229
+ 2020-01-23T07:42:35.001847+00:00 heroku[front.1]: State changed from starting to up
230
+
231
+ 2020-01-23T07:42:36.155238+00:00 heroku[front.1]: State changed from up to crashed
232
+
233
+ 2020-01-23T07:42:36.137732+00:00 heroku[front.1]: Process exited with status 1
234
+
235
+ 2020-01-23T07:42:36.094463+00:00 app[front.1]: internal/modules/cjs/loader.js:638
236
+
237
+ 2020-01-23T07:42:36.094488+00:00 app[front.1]: throw err;
238
+
239
+ 2020-01-23T07:42:36.094489+00:00 app[front.1]: ^
240
+
241
+ 2020-01-23T07:42:36.094491+00:00 app[front.1]:
242
+
243
+ 2020-01-23T07:42:36.094492+00:00 app[front.1]: Error: Cannot find module '/app_name/node_modules/react-scripts/bin/react-scripts.js'
244
+
245
+ 2020-01-23T07:42:36.094494+00:00 app[front.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
246
+
247
+ 2020-01-23T07:42:36.094495+00:00 app[front.1]: at Function.Module._load (internal/modules/cjs/loader.js:562:25)
248
+
249
+ 2020-01-23T07:42:36.094497+00:00 app[front.1]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
250
+
251
+ 2020-01-23T07:42:36.094498+00:00 app[front.1]: at startup (internal/bootstrap/node.js:283:19)
252
+
253
+ 2020-01-23T07:42:36.094500+00:00 app[front.1]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
254
+
255
+ 2020-01-23T07:42:47.914246+00:00 heroku[back.1]: Starting process with command `/bin/sh -c bundle\ exec\ puma\ -C\ config/puma.rb`
256
+
257
+ 2020-01-23T07:42:48.569483+00:00 heroku[back.1]: State changed from starting to up
258
+
259
+ 2020-01-23T07:42:49.892726+00:00 heroku[back.1]: State changed from up to crashed
260
+
261
+ 2020-01-23T07:42:49.896958+00:00 heroku[back.1]: State changed from crashed to starting
262
+
263
+ 2020-01-23T07:42:49.876900+00:00 heroku[back.1]: Process exited with status 127
264
+
265
+ 2020-01-23T07:42:49.820044+00:00 app[back.1]: bundler: command not found: puma
266
+
267
+ 2020-01-23T07:42:49.820113+00:00 app[back.1]: Install missing gem executables with `bundle install`
268
+
269
+ ```