1. webpack打包报错:ERROR in Error: Child compilation failed:

Entry module not found: Error: Can’t resolve ‘html-loader’ in ‘D:\Documents\Gi
tHub\webpack-demo’:
如下图片所示
webpack打包常见报错

解决办法:npm install html-loader

2. webpack打包报错:无法将“webpack”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称

的拼写,如果包括路径,请确保路径正确,然后重试。
webpack打包常见报错

解决办法:npm install -g webpack

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2021-04-15
  • 2021-09-04
  • 2021-04-04
  • 2021-12-19
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-11-12
  • 2021-08-12
  • 2021-08-14
  • 2021-04-07
  • 2022-12-23
相关资源
相似解决方案