title: Why Npm run watch giving to me TypeError: text.forEach is not a function
body: <p>I am preparing <strong>vue.js</strong> for <strong>Laravel project</strong>. Everything was fine until I tried to run <code>npm run watch</code> in my terminal. Js assets are emitted. But, I get some errors with <strong>scss</strong>. I cannot find what is causing that error.</p>
  <blockquote>
  <p>ERROR in ./resources/assets/sass/app.scss <br />
  Module build failed (from ./node_modules/css-loader/dist/cjs.js): <br />
  <strong>TypeError: text.forEach is not a function</strong><br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/loader.js:145:16<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compiler.js:343:11<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compiler.js:681:15<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :24:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compiler.js:678:31<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1423:35<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1414:32<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1409:36<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1405:32<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at Compilation.seal (/opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1342:27)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compiler.js:675:18<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1261:4<br />
  at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)<br />
  at AsyncSeriesHook.lazyCompileHook (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/Hook.js:154:20)<br />
  at Compilation.finish (/opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1253:28)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compiler.js:672:17<br />
  at eval (eval at create (/opt/lampp/htdocs/larticles_api-master/node_modules/tapable/lib/HookCodeFactory.js:33:10), :11:1)<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1185:12<br />
  at /opt/lampp/htdocs/larticles_api-master/node_modules/webpack/lib/Compilation.js:1097:9<br />
  at processTicksAndRejections (internal/process/task_queues.js:75:11)<br />
  @ ./resources/assets/sass/app.scss<br /></p>
  </blockquote>
  <h3>Package.json</h3>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;private&quot;: true,
      &quot;scripts&quot;: {
          &quot;dev&quot;: &quot;npm run development&quot;,
          &quot;development&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
          &quot;watch&quot;: &quot;npm run development -- --watch&quot;,
          &quot;watch-poll&quot;: &quot;npm run watch -- --watch-poll&quot;,
          &quot;hot&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
          &quot;prod&quot;: &quot;npm run production&quot;,
          &quot;production&quot;: &quot;cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;
      },
      &quot;config&quot;: {
          &quot;webpack&quot;: &quot;node_modules/laravel-mix/setup/webpack.config.js&quot;
      },
      &quot;devDependencies&quot;: {
          &quot;axios&quot;: &quot;^0.21.1&quot;,
          &quot;babel-loader&quot;: &quot;^8.2.2&quot;,
          &quot;bootstrap&quot;: &quot;^4.6.0&quot;,
          &quot;bootstrap-sass&quot;: &quot;^3.4.1&quot;,
          &quot;cross-env&quot;: &quot;^7.0&quot;,
          &quot;css-loader&quot;: &quot;^5.0.2&quot;,
          &quot;jquery&quot;: &quot;^3.2&quot;,
          &quot;laravel-mix&quot;: &quot;^5.0.1&quot;,
          &quot;lodash&quot;: &quot;^4.17.21&quot;,
          &quot;popper.js&quot;: &quot;^1.12&quot;,
          &quot;postcss-loader&quot;: &quot;^3.0.0&quot;,
          &quot;resolve-url-loader&quot;: &quot;^3.1.2&quot;,
          &quot;sass&quot;: &quot;^1.15.2&quot;,
          &quot;sass-loader&quot;: &quot;^7.1.0&quot;,
          &quot;vue&quot;: &quot;^2.5.17&quot;,
          &quot;vue-loader&quot;: &quot;^15.9.6&quot;,
          &quot;vue-template-compiler&quot;: &quot;^2.6.10&quot;
      },
      &quot;dependencies&quot;: {
          &quot;@fortawesome/fontawesome-free&quot;: &quot;^5.13.0&quot;,
          &quot;@fortawesome/free-solid-svg-icons&quot;: &quot;^5.13.0&quot;,
          &quot;node-laravel&quot;: &quot;^0.9.6&quot;,
          &quot;node-sass&quot;: &quot;^4.14.1&quot;,
          &quot;style-loader&quot;: &quot;^2.0.0&quot;
      }
  }
  </code></pre>