質問編集履歴
3
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,85 +14,7 @@
|
|
14
14
|
|
15
15
|
がHerokuで何をすればいいかよくわかりません。。
|
16
16
|
|
17
|
-
ターミナルでは、pushした際に
|
17
|
+
ターミナルでは、pushした際にnuxt startでつまづいてるみたいなんですが何がいけないのでしょうか。
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
###heroku logs --tail
|
22
|
-
|
23
|
-
```linux
|
24
|
-
|
25
|
-
> nuxtapp@1.0.0 start /app
|
26
|
-
|
27
|
-
2019-04-11T04:03:42.970742+00:00 app[web.1]: > nuxt start
|
28
|
-
|
29
|
-
2019-04-11T04:03:42.970743+00:00 app[web.1]:
|
30
|
-
|
31
|
-
2019-04-11T04:03:45.090432+00:00 app[web.1]:
|
32
|
-
|
33
|
-
2019-04-11T04:03:45.090454+00:00 app[web.1]: 04:03:45 FATAL No build files found in /app/.nuxt/dist/server.
|
34
|
-
|
35
|
-
2019-04-11T04:03:45.090456+00:00 app[web.1]: Use either nuxt build or builder.build() or start nuxt in development mode.
|
36
|
-
|
37
|
-
2019-04-11T04:03:45.090457+00:00 app[web.1]:
|
38
|
-
|
39
|
-
2019-04-11T04:03:45.090458+00:00 app[web.1]: Use either nuxt build or builder.build() or start nuxt in development mode.
|
40
|
-
|
41
|
-
2019-04-11T04:03:45.090461+00:00 app[web.1]: at VueRenderer.ready (node_modules/@nuxt/vue-renderer/dist/vue-renderer.js:2494:13)
|
42
|
-
|
43
|
-
2019-04-11T04:03:45.090462+00:00 app[web.1]:
|
44
|
-
|
45
|
-
2019-04-11T04:03:45.280228+00:00 app[web.1]:
|
46
|
-
|
47
|
-
2019-04-11T04:03:45.280236+00:00 app[web.1]: ╭─────────────────────────────────────────────────────────────────────────────────────╮
|
48
|
-
|
49
|
-
2019-04-11T04:03:45.280239+00:00 app[web.1]: │ │
|
50
|
-
|
51
|
-
2019-04-11T04:03:45.280242+00:00 app[web.1]: │ ✖ Nuxt Fatal Error │
|
52
|
-
|
53
|
-
2019-04-11T04:03:45.280243+00:00 app[web.1]: │ │
|
54
|
-
|
55
|
-
2019-04-11T04:03:45.280245+00:00 app[web.1]: │ Error: No build files found in /app/.nuxt/dist/server. │
|
56
|
-
|
57
|
-
2019-04-11T04:03:45.280246+00:00 app[web.1]: │ Use either `nuxt build` or `builder.build()` or start nuxt in development mode. │
|
58
|
-
|
59
|
-
2019-04-11T04:03:45.280248+00:00 app[web.1]: │ │
|
60
|
-
|
61
|
-
2019-04-11T04:03:45.280250+00:00 app[web.1]: ╰─────────────────────────────────────────────────────────────────────────────────────╯
|
62
|
-
|
63
|
-
2019-04-11T04:03:45.280251+00:00 app[web.1]:
|
64
|
-
|
65
|
-
2019-04-11T04:03:45.348197+00:00 app[web.1]: npm ERR! code ELIFECYCLE
|
66
|
-
|
67
|
-
2019-04-11T04:03:45.352531+00:00 app[web.1]: npm ERR! errno 1
|
68
|
-
|
69
|
-
2019-04-11T04:03:45.354557+00:00 app[web.1]: npm ERR! nuxtapp@1.0.0 start: `nuxt start`
|
70
|
-
|
71
|
-
2019-04-11T04:03:45.356344+00:00 app[web.1]: npm ERR! Exit status 1
|
72
|
-
|
73
|
-
2019-04-11T04:03:45.356678+00:00 app[web.1]: npm ERR!
|
74
|
-
|
75
|
-
2019-04-11T04:03:45.356895+00:00 app[web.1]: npm ERR! Failed at the nuxtapp@1.0.0 start script.
|
76
|
-
|
77
|
-
2019-04-11T04:03:45.357110+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
78
|
-
|
79
|
-
2019-04-11T04:03:45.402499+00:00 app[web.1]:
|
80
|
-
|
81
|
-
2019-04-11T04:03:45.407002+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
|
82
|
-
|
83
|
-
2019-04-11T04:03:45.407417+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2019-04-11T04_03_45_358Z-debug.log
|
84
|
-
|
85
|
-
2019-04-11T04:03:45.523996+00:00 heroku[web.1]: State changed from starting to crashed
|
86
|
-
|
87
|
-
2019-04-11T04:03:45.506660+00:00 heroku[web.1]: Process exited with status 1
|
88
|
-
|
89
|
-
```
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
#追記
|
94
|
-
|
95
|
-
|
96
18
|
|
97
19
|
```
|
98
20
|
|
@@ -100,26 +22,76 @@
|
|
100
22
|
|
101
23
|
```
|
102
24
|
|
103
|
-
|
25
|
+
は実行してBuild succeededになってはいます。
|
104
26
|
|
105
27
|
```
|
106
28
|
|
107
|
-
|
29
|
+
2019-04-11T07:16:23.432873+00:00 heroku[web.1]: Starting process with command `npm start`
|
108
30
|
|
109
|
-
|
31
|
+
2019-04-11T07:16:25.441422+00:00 app[web.1]:
|
110
32
|
|
111
|
-
|
33
|
+
2019-04-11T07:16:25.441455+00:00 app[web.1]: > nuxtapp@1.0.0 start /app
|
112
34
|
|
113
|
-
|
35
|
+
2019-04-11T07:16:25.441456+00:00 app[web.1]: > nuxt start
|
114
36
|
|
115
|
-
|
37
|
+
2019-04-11T07:16:25.441458+00:00 app[web.1]:
|
116
38
|
|
117
|
-
|
39
|
+
2019-04-11T07:16:26.154841+00:00 app[web.1]:
|
118
40
|
|
119
|
-
|
41
|
+
2019-04-11T07:16:26.154874+00:00 app[web.1]: 07:16:26 FATAL No build files found in /app/.nuxt/dist/server.
|
120
42
|
|
121
|
-
|
43
|
+
2019-04-11T07:16:26.154876+00:00 app[web.1]: Use either nuxt build or builder.build() or start nuxt in development mode.
|
122
44
|
|
123
|
-
|
45
|
+
2019-04-11T07:16:26.154877+00:00 app[web.1]:
|
46
|
+
|
47
|
+
2019-04-11T07:16:26.154878+00:00 app[web.1]: Use either nuxt build or builder.build() or start nuxt in development mode.
|
48
|
+
|
49
|
+
2019-04-11T07:16:26.154880+00:00 app[web.1]: at VueRenderer.ready (node_modules/@nuxt/vue-renderer/dist/vue-renderer.js:2494:13)
|
50
|
+
|
51
|
+
2019-04-11T07:16:26.154881+00:00 app[web.1]:
|
52
|
+
|
53
|
+
2019-04-11T07:16:26.174327+00:00 app[web.1]:
|
54
|
+
|
55
|
+
2019-04-11T07:16:26.174330+00:00 app[web.1]: ╭─────────────────────────────────────────────────────────────────────────────────────╮
|
56
|
+
|
57
|
+
2019-04-11T07:16:26.174331+00:00 app[web.1]: │ │
|
58
|
+
|
59
|
+
2019-04-11T07:16:26.174333+00:00 app[web.1]: │ ✖ Nuxt Fatal Error │
|
60
|
+
|
61
|
+
2019-04-11T07:16:26.174334+00:00 app[web.1]: │ │
|
62
|
+
|
63
|
+
2019-04-11T07:16:26.174337+00:00 app[web.1]: │ Error: No build files found in /app/.nuxt/dist/server. │
|
64
|
+
|
65
|
+
2019-04-11T07:16:26.174338+00:00 app[web.1]: │ Use either `nuxt build` or `builder.build()` or start nuxt in development mode. │
|
66
|
+
|
67
|
+
2019-04-11T07:16:26.174340+00:00 app[web.1]: │ │
|
68
|
+
|
69
|
+
2019-04-11T07:16:26.174341+00:00 app[web.1]: ╰─────────────────────────────────────────────────────────────────────────────────────╯
|
70
|
+
|
71
|
+
2019-04-11T07:16:26.174342+00:00 app[web.1]:
|
72
|
+
|
73
|
+
2019-04-11T07:16:26.191774+00:00 app[web.1]: npm ERR! code ELIFECYCLE
|
74
|
+
|
75
|
+
2019-04-11T07:16:26.192167+00:00 app[web.1]: npm ERR! errno 1
|
76
|
+
|
77
|
+
2019-04-11T07:16:26.193466+00:00 app[web.1]: npm ERR! nuxtapp@1.0.0 start: `nuxt start`
|
78
|
+
|
79
|
+
2019-04-11T07:16:26.193591+00:00 app[web.1]: npm ERR! Exit status 1
|
80
|
+
|
81
|
+
2019-04-11T07:16:26.193788+00:00 app[web.1]: npm ERR!
|
82
|
+
|
83
|
+
2019-04-11T07:16:26.193912+00:00 app[web.1]: npm ERR! Failed at the nuxtapp@1.0.0 start script.
|
84
|
+
|
85
|
+
2019-04-11T07:16:26.194008+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
86
|
+
|
87
|
+
2019-04-11T07:16:26.201655+00:00 app[web.1]:
|
88
|
+
|
89
|
+
2019-04-11T07:16:26.201783+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
|
90
|
+
|
91
|
+
2019-04-11T07:16:26.201838+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2019-04-11T07_16_26_195Z-debug.log
|
92
|
+
|
93
|
+
2019-04-11T07:16:26.268245+00:00 heroku[web.1]: State changed from starting to crashed
|
94
|
+
|
95
|
+
2019-04-11T07:16:26.247398+00:00 heroku[web.1]: Process exited with status 1
|
124
96
|
|
125
97
|
```
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,4 +90,36 @@
|
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
|
93
|
+
#追記
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
```
|
98
|
+
|
99
|
+
heroku run nuxt build
|
100
|
+
|
101
|
+
```
|
102
|
+
|
103
|
+
をしたところ下のようなエラーになってます。
|
104
|
+
|
105
|
+
```
|
106
|
+
|
107
|
+
ERROR in ./pages/index.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=script&lang=js&)
|
108
|
+
|
109
|
+
Module not found: Error: Can't resolve 'axios' in '/app/pages'
|
110
|
+
|
111
|
+
@ ./pages/index.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=script&lang=js&) 18:0-26 63:6-11 79:6-11
|
112
|
+
|
113
|
+
@ ./pages/index.vue?vue&type=script&lang=js&
|
114
|
+
|
115
|
+
@ ./pages/index.vue
|
116
|
+
|
117
|
+
@ ./.nuxt/router.js
|
118
|
+
|
119
|
+
@ ./.nuxt/index.js
|
120
|
+
|
121
|
+
@ ./.nuxt/client.js
|
122
|
+
|
123
|
+
@ multi ./.nuxt/client.js
|
124
|
+
|
125
|
+
```
|
1
ジャンル足した
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|