weixin_43408535
-cfyjbjonn
采纳率73.3%
2021-04-13 03:10 阅读 52

前端 vue编写,端口8080报错这样怎么改

Html Webpack Plugin:

  Error: Child compilation failed:
  Module build failed: Error: ENOENT: no such file or directory, open   'F:\meituan\meituan\myapp\node_modules\webpack\buildin\global.js':  Error: ENOENT: no such file or directory, open 'F:\meituan\meituan\  myapp\node_modules\webpack\buildin\global.js'
  Module build failed: Error: ENOENT: no such file or directory, open   'F:\meituan\meituan\myapp\node_modules\webpack\buildin\module.js':  Error: ENOENT: no such file or directory, open 'F:\meituan\meituan\  myapp\node_modules\webpack\buildin\module.js'
  
  - compiler.js:79 
    [myapp]/[html-webpack-plugin]/lib/compiler.js:79:16
  
  - Compiler.js:343 
    [myapp]/[webpack]/lib/Compiler.js:343:11
  
  - Compiler.js:681 
    [myapp]/[webpack]/lib/Compiler.js:681:15
  
  
  - Hook.js:154 AsyncSeriesHook.lazyCompileHook
    [myapp]/[tapable]/lib/Hook.js:154:20
  
  - Compiler.js:678 
    [myapp]/[webpack]/lib/Compiler.js:678:31
  
  
  - Hook.js:154 AsyncSeriesHook.lazyCompileHook
    [myapp]/[tapable]/lib/Hook.js:154:20
  
  - Compilation.js:1423 
    [myapp]/[webpack]/lib/Compilation.js:1423:35
  
  
  - Hook.js:154 AsyncSeriesHook.lazyCompileHook
    [myapp]/[tapable]/lib/Hook.js:154:20
  
  - Compilation.js:1414 
    [myapp]/[webpack]/lib/Compilation.js:1414:32
  
  
  - Hook.js:154 AsyncSeriesHook.lazyCompileHook
    [myapp]/[tapable]/lib/Hook.js:154:20
  
  - Compilation.js:1409 
    [myapp]/[webpack]/lib/Compilation.js:1409:36
  
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

3条回答 默认 最新

  • huayula 酷爱码 2021-04-13 08:27
    Module build failed: Error: ENOENT: no such file or directory, open   'F:\meituan\mei。。。。。。。这不很明显吗
    点赞 评论 复制链接分享
  • weixin_44058725 雨生百谷,方为谷雨 2021-04-13 08:50

    html-webpack-plugin 这个插件可能配置错误,搜一下就有配置方法

    点赞 评论 复制链接分享
  • HunderKiller HunderKiller 2021-04-13 10:59

    有可能版本有问题,可以试试直接删除node_module重新install看看

    点赞 评论 复制链接分享

相关推荐