質問編集履歴
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,15 +34,17 @@
|
|
34
34
|
|
35
35
|
remote:
|
36
36
|
|
37
|
-
remote: ! Push rejected to
|
37
|
+
remote: ! Push rejected to damp-mountain-33769.
|
38
38
|
|
39
39
|
remote:
|
40
40
|
|
41
|
-
To https://git.heroku.com/
|
41
|
+
To https://git.heroku.com/damp-mountain-33769.git
|
42
42
|
|
43
43
|
! [remote rejected] master -> master (pre-receive hook declined)
|
44
44
|
|
45
|
-
error: failed to push some refs to 'https://git.heroku.com/
|
45
|
+
error: failed to push some refs to 'https://git.heroku.com/damp-mountain-33769.git'
|
46
|
+
|
47
|
+
|
46
48
|
|
47
49
|
```
|
48
50
|
|
@@ -64,15 +66,7 @@
|
|
64
66
|
|
65
67
|
|
66
68
|
|
67
|
-
-以下、自分で試したこと-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
・cssをsccsに変えてみた
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
・エラー文よりもっと上のところに、
|
69
|
+
~~~~・エラー文よりもっと上のところに、~~
|
76
70
|
|
77
71
|
```remote: Running: rake assets:precompile
|
78
72
|
|
@@ -84,7 +78,7 @@
|
|
84
78
|
|
85
79
|
```
|
86
80
|
|
87
|
-
とあったため、”rails credentials:edit”を実行
|
81
|
+
~~とあったため、”rails credentials:edit”を実行~~
|
88
82
|
|
89
83
|
↓
|
90
84
|
|
@@ -104,7 +98,7 @@
|
|
104
98
|
|
105
99
|
```
|
106
100
|
|
107
|
-
と出る。そして”EDITOR=Atom rails credentials:edit”と入力
|
101
|
+
~~と出る。そして”EDITOR=Atom rails credentials:edit”と入力~~
|
108
102
|
|
109
103
|
↓
|
110
104
|
|
@@ -116,11 +110,67 @@
|
|
116
110
|
|
117
111
|
|
118
112
|
|
119
|
-
と出る。もう一度”git push heroku master"を入力
|
113
|
+
~~と出る。もう一度”git push heroku master"を入力~~
|
120
114
|
|
121
115
|
↓
|
122
116
|
|
123
|
-
同じエラーが出る。
|
117
|
+
~~同じエラーが出る~~。
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
**追記事項(2020-03-06)**
|
130
|
+
|
131
|
+
斜線で消した部分は、最初からやり直したところエラーとして出てこなくなったのですが、remote: ! Precompiling assets failed.部分の赤文字エラーは変わらず、、
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
今度は、
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
```
|
140
|
+
|
141
|
+
remote: Compiling...
|
142
|
+
|
143
|
+
remote: Compilation failed:
|
144
|
+
|
145
|
+
remote: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
|
146
|
+
|
147
|
+
remote: - configuration.entry should be an non-empty object.
|
148
|
+
|
149
|
+
remote: -> Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
```
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
というように、remote: ! Precompiling assets failed.の上部に出ております。
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
-以下、自分で試したこと-
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
・cssをsccsに変えてみた
|
168
|
+
|
169
|
+
・config/application.rbに「config.assets.initialize_on_precompile = false」を追加し、再度git push heroku master
|
170
|
+
|
171
|
+
・RAILS_ENV=development bin/rails assets:precompileを入力して開発環境内のエラーを確認(該当なし)
|
172
|
+
|
173
|
+
・RAILS_ENV=production bin/rails assets:precompileを入力し、本番環境内の異常を確認(該当なし)
|
124
174
|
|
125
175
|
|
126
176
|
|