質問編集履歴
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -272,4 +272,60 @@
|
|
272
272
|
|
273
273
|
|
274
274
|
|
275
|
+
bundle exec rails webpacker:install 実行時のログに気になるエラーがありました。
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
```bash
|
280
|
+
|
281
|
+
[3/4] Linking dependencies...
|
282
|
+
|
283
|
+
warning " > webpack-dev-server@3.11.2" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
|
284
|
+
|
285
|
+
warning "webpack-dev-server > webpack-dev-middleware@3.7.3" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
|
286
|
+
|
287
|
+
[4/4] Building fresh packages...
|
288
|
+
|
275
|
-
|
289
|
+
[-/3] ⠐ waiting...
|
290
|
+
|
291
|
+
[-/3] ⠈ waiting...
|
292
|
+
|
293
|
+
error /opt/render/project/src/node_modules/node-sass: Command failed.
|
294
|
+
|
295
|
+
Exit code: 137
|
296
|
+
|
297
|
+
Command: node scripts/install.js
|
298
|
+
|
299
|
+
Arguments:
|
300
|
+
|
301
|
+
Directory: /opt/render/project/src/node_modules/node-sass
|
302
|
+
|
303
|
+
Output:
|
304
|
+
|
305
|
+
```
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
続けて、bundle exec rails webpacker:compileを実行した際のエラーになります。
|
310
|
+
|
311
|
+
```bash
|
312
|
+
|
313
|
+
ERROR in ./app/javascript/scss/application.scss
|
314
|
+
|
315
|
+
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
|
316
|
+
|
317
|
+
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
|
318
|
+
|
319
|
+
Error: Missing binding /opt/render/project/src/node_modules/node-sass/vendor/linux-x64-83/binding.node
|
320
|
+
|
321
|
+
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 14.x
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
This usually happens because your environment has changed since running `npm install`.
|
328
|
+
|
329
|
+
Run `npm rebuild node-sass` to download the binding for your current environment.
|
330
|
+
|
331
|
+
```
|