Error: Child compilation failed: Entry module not found: Error: Can’t resolve’D:\xcEduUI01\xc-ui-pc’

2.下图的红字是我一开始出的错:
Error: Child compilation failed: Entry module not found: Error: Can‘t resolve‘D:\xcEduUI01\xc-ui-pc‘

上图的红字改完后,点击左侧的红框,出现下图:
Error: Child compilation failed: Entry module not found: Error: Can‘t resolve‘D:\xcEduUI01\xc-ui-pc‘

接着上图按箭头点击此处,运行(run)就报错了,如下图所示:
Error: Child compilation failed: Entry module not found: Error: Can‘t resolve‘D:\xcEduUI01\xc-ui-pc‘

原因:在index打包的时候html-webpack-plugin 的是生成的模板路径格式错误。(网上找的)。
本人的实际原因:下图中的webpack.config.js页面内容是直接从笔记上拷贝下来的,没有改红框的文件名,导致运行指令时,在指定路径下找不到对应的静态页面。
解决方法:把此处的改为自己实际访问的静态页面即可。
Error: Child compilation failed: Entry module not found: Error: Can‘t resolve‘D:\xcEduUI01\xc-ui-pc‘
希望我犯的错对你有帮助!!!(这是本人第一次发博文0.0)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-10-19
  • 2021-09-05
  • 2022-12-23
  • 2021-06-12
  • 2021-10-17
猜你喜欢
  • 2021-04-07
  • 2021-04-13
  • 2021-05-01
  • 2021-05-10
  • 2021-07-09
  • 2021-09-06
相关资源
相似解决方案