質問編集履歴

1

修正

2020/09/03 10:55

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -101,3 +101,261 @@
101
101
  deepsecurity/registryviews Deep Security Smart Check 0
102
102
 
103
103
  ```
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ ```
112
+
113
+ webpacker.yml
114
+
115
+ # Note: You must restart bin/webpack-dev-server for changes to take effect
116
+
117
+
118
+
119
+ default: &default
120
+
121
+ source_path: app/javascript
122
+
123
+ source_entry_path: packs
124
+
125
+ public_root_path: public
126
+
127
+ public_output_path: packs
128
+
129
+ cache_path: tmp/cache/webpacker
130
+
131
+ check_yarn_integrity: false ここでエラー
132
+
133
+ webpack_compile_output: true
134
+
135
+
136
+
137
+ # Additional paths webpack should lookup modules
138
+
139
+ # ['app/assets', 'engine/foo/app/assets']
140
+
141
+ resolved_paths: []
142
+
143
+
144
+
145
+ # Reload manifest.json on all requests so we reload latest compiled packs
146
+
147
+ cache_manifest: false
148
+
149
+
150
+
151
+ # Extract and emit a css file
152
+
153
+ extract_css: false
154
+
155
+
156
+
157
+ static_assets_extensions:
158
+
159
+ - .jpg
160
+
161
+ - .jpeg
162
+
163
+ - .png
164
+
165
+ - .gif
166
+
167
+ - .tiff
168
+
169
+ - .ico
170
+
171
+ - .svg
172
+
173
+ - .eot
174
+
175
+ - .otf
176
+
177
+ - .ttf
178
+
179
+ - .woff
180
+
181
+ - .woff2
182
+
183
+
184
+
185
+ extensions:
186
+
187
+ - .mjs
188
+
189
+ - .js
190
+
191
+ - .sass
192
+
193
+ - .scss
194
+
195
+ - .css
196
+
197
+ - .module.sass
198
+
199
+ - .module.scss
200
+
201
+ - .module.css
202
+
203
+ - .png
204
+
205
+ - .svg
206
+
207
+ - .gif
208
+
209
+ - .jpeg
210
+
211
+ - .jpg
212
+
213
+
214
+
215
+ development:
216
+
217
+ <<: *default
218
+
219
+ compile: true
220
+
221
+
222
+
223
+ # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
224
+
225
+ check_yarn_integrity: true
226
+
227
+
228
+
229
+ # Reference: https://webpack.js.org/configuration/dev-server/
230
+
231
+ dev_server:
232
+
233
+ https: false
234
+
235
+ host: localhost
236
+
237
+ port: 3035
238
+
239
+ public: localhost:3035
240
+
241
+ hmr: false
242
+
243
+ # Inline should be set to true if using HMR
244
+
245
+ inline: true
246
+
247
+ overlay: true
248
+
249
+ compress: true
250
+
251
+ disable_host_check: true
252
+
253
+ use_local_ip: false
254
+
255
+ quiet: false
256
+
257
+ pretty: false
258
+
259
+ headers:
260
+
261
+ 'Access-Control-Allow-Origin': '*'
262
+
263
+ watch_options:
264
+
265
+ ignored: '**/node_modules/**'
266
+
267
+
268
+
269
+
270
+
271
+ test:
272
+
273
+ <<: *default
274
+
275
+ compile: true
276
+
277
+
278
+
279
+ # Compile test packs to a separate directory
280
+
281
+ public_output_path: packs-test
282
+
283
+
284
+
285
+ production:
286
+
287
+ <<: *default
288
+
289
+
290
+
291
+ # Production depends on precompilation of packs prior to booting for performance.
292
+
293
+ compile: false
294
+
295
+
296
+
297
+ # Extract and emit a css file
298
+
299
+ extract_css: true
300
+
301
+
302
+
303
+ # Cache manifest.json for performance
304
+
305
+ cache_manifest: true
306
+
307
+
308
+
309
+
310
+
311
+ ```
312
+
313
+
314
+
315
+
316
+
317
+ ```
318
+
319
+ web_1 | => Booting Puma
320
+
321
+ web_1 | => Rails 6.0.3.2 application starting in development
322
+
323
+ web_1 | => Run `rails server --help` for more startup options
324
+
325
+ web_1 | sh: 1: yarn: not found
326
+
327
+ web_1 |
328
+
329
+ web_1 |
330
+
331
+ web_1 | ========================================
332
+
333
+ web_1 | Your Yarn packages are out of date!
334
+
335
+ web_1 | Please run `yarn install --check-files` to update.
336
+
337
+ web_1 | ========================================
338
+
339
+ web_1 |
340
+
341
+ web_1 |
342
+
343
+ web_1 | To disable this check, please change `check_yarn_integrity`
344
+
345
+ web_1 | to `false` in your webpacker config file (config/webpacker.yml).
346
+
347
+ web_1 |
348
+
349
+ web_1 |
350
+
351
+ web_1 |
352
+
353
+ web_1 |
354
+
355
+ web_1 |
356
+
357
+ web_1 | Exiting
358
+
359
+ books_web_1 exited with code 1
360
+
361
+ ```