gymdone
2 months ago
2710
3
Mix

TypeError: text.forEach is not a function

Posted 2 months ago by gymdone

This just started happening ...

~/STGdev/lvvn $ npm run watch

> @ watch /home/gymdo/STGdev/lvvn
> npm run development -- --watch


> @ development /home/gymdo/STGdev/lvvn
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch"

10% building 1/1 modules 0 active
webpack is watching the files…

98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 errors                                                                                  10:22:54 PM

 error  in ./resources/sass/app.scss

Module build failed (from ./node_modules/css-loader/dist/cjs.js):
TypeError: text.forEach is not a function
    at /home/gymdo/STGdev/lvvn/node_modules/extract-text-webpack-plugin/dist/loader.js:145:16

I've spent 10 hours trying to fix it ... searching and trying things .... This error happens when my webpack.mix.js is the original installation.

Looks the same as this ... https://www.bountysource.com/issues/92161278-unexpectedly-fails-with-css-loader-v4-0-0

Please sign in or create an account to participate in this conversation.