升级后,运行uni-app基座编译报错

升级后,运行uni-app基座编译报错

项目信息 详细信息
产品分类 uniapp/App
PC开发环境操作系统 Windows
PC开发环境操作系统版本 win10
HBuilderX类型 Alpha
HBuilderX版本号 4.63
手机系统 Android
手机系统版本号 Android 10
手机厂商 小米
手机机型 小米8
页面类型 vue
vue版本 vue3
打包方式 云端
项目创建方式 HBuilderX

bug描述: 今天刚升级到最新alpha版,运行到真机编译不过去了,报如下错误。哎呀,这以后谁敢升级呀 12:43:54.760 The emitted file “pages/shop/customer/customer.uvue.ts.map” overwrites a previously emitted file of the same name. 12:43:54.819 The emitted file “pages/shop/customer/customer.uvue.ts” overwrites a previously emitted file of the same name. 12:43:57.563 请在杀毒软件中设置扫描排除名单,减少系统资源消耗。详情 12:43:58.098 当前工程9个页面,正在编译为android class,此过程耗时较长… 12:44:19.185 [plugin:uni:app-uts] 编译失败 12:44:19.185 error: Unresolved reference: GenPagesShopCustomerCustomer 12:44:19.185 at D:\myworkspace\Lottery\ulink-cloud\ulink-app\unpackage\cache.app-android\src\index.kt:1399:60 12:44:19.186 error: Unresolved reference: GenPagesShopCustomerCustomer 12:44:19.186 at D:\myworkspace\Lottery\ulink-cloud\ulink-app\unpackage\cache.app-android\src\index.kt:1400:78 12:44:19.186 error: Unresolved reference: GenPagesShopCustomerCustomer 12:44:19.186 at D:\myworkspace\Lottery\ulink-cloud\ulink-app\unpackage\cache.app-android\src\index.kt:1400:130 12:44:19.186 error: Unresolved reference: GenPagesShopCustomerCustomer 12:44:19.186 at D:\myworkspace\Lottery\ulink-cloud\ulink-app\unpackage\cache.app-android\src\index.kt:1400:175


更多关于升级后,运行uni-app基座编译报错的实战教程也可以访问 https://www.itying.com/category-93-b0.html

3 回复

无论怎么改文件名都不行,好多文件都出现这个问题

更多关于升级后,运行uni-app基座编译报错的实战教程也可以访问 https://www.itying.com/category-93-b0.html


我的是升级后 uni-transition 组件 又问题了!
真无语!

还有一个问题是导出方法模块export default,编译器编译成了UTSJSONObject对像了,调用我写的方法都不存在,都是UTSJSONObject里的方法。这可咋弄。上贼船了

回到顶部