新建默认项目 运行到浏览器
- 发布:2020-05-29 10:32
- 更新:2020-06-17 10:26
- 阅读:764
产品分类: uniapp/H5
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: windows 10 2004
HBuilderX类型: 正式
HBuilderX版本号: 2.7.9
浏览器平台: Chrome
浏览器版本: 80.0.3987.87
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常启动
正常启动
实际结果:
10:26:33.574 项目 'car' 开始编译...
10:26:34.912 module.js:549
10:26:34.913 throw err;
10:26:34.916 ^
10:26:34.916 Error: Cannot find module '@vue/cli-shared-utils'
10:26:34.920 at Function.Module._resolveFilename (module.js:547:15)
10:26:34.922 at Function.Module._load (module.js:474:25)
10:26:34.926 at Module.require (module.js:596:17)
10:26:34.926 at require (internal/module.js:11:18)
10:26:34.930 at Object.<anonymous> (F:\HBuilderX\plugins\uniapp-cli\bin\uniapp-cli.js:15:5)
10:26:34.931 at Module._compile (module.js:652:30)
10:26:34.936 at Object.Module._extensions..js (module.js:663:10)
10:26:34.940 at Module.load (module.js:565:32)
10:26:34.944 at tryModuleLoad (module.js:505:12)
10:26:34.944 at Function.Module._load (module.js:497:3)
10:26:33.574 项目 'car' 开始编译...
10:26:34.912 module.js:549
10:26:34.913 throw err;
10:26:34.916 ^
10:26:34.916 Error: Cannot find module '@vue/cli-shared-utils'
10:26:34.920 at Function.Module._resolveFilename (module.js:547:15)
10:26:34.922 at Function.Module._load (module.js:474:25)
10:26:34.926 at Module.require (module.js:596:17)
10:26:34.926 at require (internal/module.js:11:18)
10:26:34.930 at Object.<anonymous> (F:\HBuilderX\plugins\uniapp-cli\bin\uniapp-cli.js:15:5)
10:26:34.931 at Module._compile (module.js:652:30)
10:26:34.936 at Object.Module._extensions..js (module.js:663:10)
10:26:34.940 at Module.load (module.js:565:32)
10:26:34.944 at tryModuleLoad (module.js:505:12)
10:26:34.944 at Function.Module._load (module.js:497:3)
bug描述:
HBuilderX 从2.5.1升级到2.7.9,启动以前的项目和新建默认项目启动报错