4***@qq.com
4***@qq.com
  • 发布:2022-02-18 18:10
  • 更新:2022-02-18 20:41
  • 阅读:624

hbuilder x更新到3.3.11.20220209,打包错误

分类:HBuilderX

internal/modules/cjs/loader.js:818
[HBuilder] 18:01:39.981 throw err;
[HBuilder] 18:01:39.993 ^
[HBuilder] 18:01:39.993 Error: Cannot find module '@vue/cli-shared-utils'
[HBuilder] 18:01:40.004 Require stack:
[HBuilder] 18:01:40.006 - D:\HBuilderX\plugins\uniapp-cli\bin\uniapp-cli.js
[HBuilder] 18:01:40.018 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
[HBuilder] 18:01:40.019 at Function.Module._load (internal/modules/cjs/loader.js:667:27)
[HBuilder] 18:01:40.028 at Module.require (internal/modules/cjs/loader.js:887:19)
[HBuilder] 18:01:40.028 at require (internal/modules/cjs/helpers.js:74:18)
[HBuilder] 18:01:40.033 at Object.<anonymous> (D:\HBuilderX\plugins\uniapp-cli\bin\uniapp-cli.js:15:5)
[HBuilder] 18:01:40.034 at Module._compile (internal/modules/cjs/loader.js:999:30)
[HBuilder] 18:01:40.041 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
[HBuilder] 18:01:40.042 at Module.load (internal/modules/cjs/loader.js:863:32)
[HBuilder] 18:01:40.047 at Function.Module._load (internal/modules/cjs/loader.js:708:14)
[HBuilder] 18:01:40.048 at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
[HBuilder] 18:01:40.054 code: 'MODULE_NOT_FOUND',
[HBuilder] 18:01:40.055 requireStack: [ 'D:\HBuilderX\plugins\uniapp-cli\bin\uniapp-cli.js' ]
[HBuilder] 18:01:40.065 }

回退到之前版本可以打包,切到3.3.11出现以上错误

2022-02-18 18:10 负责人:DCloud_UNI_GSQ 分享
已邀请:
DCloud_UNI_GSQ

DCloud_UNI_GSQ

重新安装uni-app插件试试

该问题目前已经被锁定, 无法添加新回复