2***@qq.com
2***@qq.com
  • 发布:2025-05-08 14:03
  • 更新:2025-05-08 14:03
  • 阅读:88

【报Bug】HBuilderX升级到4.64后真机测试 TypeError: Cannot read property 'uni-app-plus' of undefined

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: window 11

HBuilderX类型: 正式

HBuilderX版本号: 4.64

手机系统: Android

手机系统版本号: Android 15

手机厂商: 小米

手机机型: Redmi Note 10

页面类型: vue

vue版本: vue2

打包方式: 离线

项目创建方式: HBuilderX

操作步骤:

运行到Android APP基座

预期结果:

能够在测试机上真机测试

实际结果:

ERROR TypeError: Cannot read property 'uni-app-plus' of undefined

bug描述:

ERROR TypeError: Cannot read property 'uni-app-plus' of undefined
TypeError: Cannot read property 'uni-app-plus' of undefined
at Object.chainWebpack (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@dcloudio\vue-cli-plugin-uni\lib\app-plus\index.js:206:52)
at E:\transport\a_hainan\transport_app_hn_driver\node_modules\@dcloudio\vue-cli-plugin-uni\lib\chain-webpack.js:150:21
at E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\lib\Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\lib\Service.js:236:26)
at Service.resolveWebpackConfig (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\lib\Service.js:240:48)
at PluginAPI.resolveWebpackConfig (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)
at serve (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@dcloudio\vue-cli-plugin-uni\commands\serve.js:51:31)
at Service.run (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\lib\Service.js:230:12)
at Object.<anonymous> (E:\transport\a_hainan\transport_app_hn_driver\node_modules\@vue\cli-service\bin\vue-cli-service.js:36:9)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
at internal/main/run_main_module.js:17:47

2025-05-08 14:03 负责人:无 分享
已邀请:

要回复问题请先登录注册