hbx发行,云打包,自定义基座
- 发布:2022-10-20 15:38
- 更新:2022-10-20 15:38
- 阅读:757
产品分类: HbuilderX
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: m1
HBuilderX版本号: 3.6.7
操作步骤:
预期结果:
正常打包
正常打包
实际结果:
报错
报错
bug描述:
[HBuilder] 15:34:22.624 项目 'batteryInfo' 开始编译...
[HBuilder] 15:34:23.616 编译器版本:3.6.7(vue3)
[HBuilder] 15:34:23.620 正在编译中...
[HBuilder] 15:34:24.454 vite v3.1.8 building for production...
[HBuilder] 15:34:24.619 [plugin:commonjs--resolver] Failed to resolve entry for package "/Users/daijunxiong/Documents/HBuilderProjects/batteryInfo/uni_modules/bigtian-login". The package may have incorrect main/module/exports specified in its package.json.
[HBuilder] 15:34:24.623 error during build:
[HBuilder] 15:34:24.623 Error: Failed to resolve entry for package "/Users/daijunxiong/Documents/HBuilderProjects/batteryInfo/uni_modules/bigtian-login". The package may have incorrect main/module/exports specified in its package.json.
[HBuilder] 15:34:24.626 at packageEntryFailure (file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34841:11)
[HBuilder] 15:34:24.631 at resolvePackageEntry (file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34838:5)
[HBuilder] 15:34:24.634 at tryResolveFile (file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34472:38)
[HBuilder] 15:34:24.636 at tryFsResolve (file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34454:16)
[HBuilder] 15:34:24.639 at Object.resolveId (file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34273:28)
[HBuilder] 15:34:24.642 at file:///Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/rollup/dist/es/shared/rollup.js:22710:40
0 个回复