14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
- 发布:2024-12-12 14:54
- 更新:2024-12-12 14:54
- 阅读:42
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
手机系统: HarmonyOS NEXT
手机系统版本号: HarmonyOS NEXT Developer Beta2
手机厂商: 华为
手机机型: -
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: CLI
CLI版本号: 最新
示例代码:
操作步骤:
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
预期结果:
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
实际结果:
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
bug描述:
14:51:54.081 x Build failed in 7.67s
14:51:54.081 [vite]: Rollup failed to resolve import "android.content.Intent" from "D:/code/aqygj-uniapp/src/uni_modules/uni-upgrade-center-app/utils/utils.uts".
14:51:54.081 This is most likely unintended because it can break your application at runtime.
14:51:54.081 If you do want to externalize this module explicitly add it to
14:51:54.081 build.rollupOptions.external
0 个回复