webpack hangs at on “95% emit” / “95% emitting”

前端 未结 11 1994
不思量自难忘°
不思量自难忘° 2021-02-05 14:52

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

相关标签:
11条回答
  • 2021-02-05 15:00

    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.

    0 讨论(0)
  • 2021-02-05 15:06
    npm rebuild node-sass
    

    solved ist by me.

    0 讨论(0)
  • 2021-02-05 15:10

    Running ng build and node --inspect node_modules/webpack/bin/webpack.js should give output of the problem paths

    0 讨论(0)
  • This error also occurs if you have invalid import. Import referring from other files which is not getting compiled.

    0 讨论(0)
  • 2021-02-05 15:14

    I fixed by upgrading to webpack@4.41.2

    0 讨论(0)
  • 2021-02-05 15:14

    I have missclick when copy index.html (cut this file from angular folder). After copy them back problem is gone.

    0 讨论(0)
提交回复
热议问题