HBuilderX升级到4.64后真机测试 TypeError: Cannot read property 'uni-app-plus' of undefined
HBuilderX升级到4.64后真机测试 TypeError: Cannot read property ‘uni-app-plus’ of undefined
开发环境 | 版本号 | 项目创建方式 |
---|---|---|
Windows | 11 | 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
更多关于HBuilderX升级到4.64后真机测试 TypeError: Cannot read property 'uni-app-plus' of undefined的实战教程也可以访问 https://www.itying.com/category-93-b0.html