This is my production webpack config. The two quotes in the title refer to webpack2 and webpack respectively. Both hang for me with a similar error.
This is my command t
I had the same issue in Angular when I was setting up a project. The problem was that I wrongly placed the index.html file out of ./src
folder.
npm rebuild node-sass
solved ist by me.
Running ng build
and node --inspect node_modules/webpack/bin/webpack.js
should give output of the problem paths
This error also occurs if you have invalid import. Import referring from other files which is not getting compiled.
webpack@4.41.2
I have missclick when copy index.html (cut this file from angular folder). After copy them back problem is gone.