PHP仿站
PHP仿站
  • 发布:2022-07-28 10:09
  • 更新:2022-07-29 20:51
  • 阅读:490

【报Bug】HBuilderX 3.5.3 Alpha办 启动 Hello uni-app报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: Alpha

HBuilderX版本号: 3.5.3

手机系统: Android

手机系统版本号: Android 9.0

手机厂商: 小米

手机机型: mix 2

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

下载 HBuilderX 3.5.3
新建hello uniapp
运行》运行到真机或者模拟器》运行到andorid基座

预期结果:

看到评论列表

实际结果:

app启动后页面空白,只有导航

bug描述:

10:00:03.787 项目 'uniapp728' 开始编译...  
10:00:06.387 3.5.3  
10:00:06.390 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。  
10:00:06.403 ​已开启 uni统计2.0 版本​  
10:00:06.717 正在编译中...  
10:00:24.000 App 启动模式: fast, 详见: https://ask.dcloud.net.cn/article/36749  
10:00:52.160 项目 'uniapp728' 编译成功。  
10:00:55.125 正在建立手机连接...  
10:00:58.513 正在安装手机端HBuilder调试基座...  
10:01:32.348 Success  
10:01:32.430 2233 KB/s (57066777 bytes in 24.946s)  
10:01:32.840 正在同步手机端程序文件...  
10:01:47.074 同步手机端程序文件完成  
10:01:47.506 正在启动HBuilder调试基座  
10:01:53.041 如手机上HBuilder调试基座未启动,请手动启动...  
10:01:53.572 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'length' of undefined  
10:01:53.593 at  (pages/tabBar/component/component.js.nvue:2407:126478)  
10:01:53.614 at 2 (pages/tabBar/component/component.js.nvue:2407:127183)  
10:01:53.634 at __webpack_require__ (pages/tabBar/component/component.js.nvue:21:30)  
10:01:53.655 at 1 (pages/tabBar/component/component.js.nvue:1579:41)  
10:01:53.676 at __webpack_require__ (pages/tabBar/component/component.js.nvue:21:30)  
10:01:53.734 at 118 (pages/tabBar/component/component.js.nvue:1618:1)  
10:01:53.739 at __webpack_require__ (pages/tabBar/component/component.js.nvue:21:30)  
10:01:53.758 at  (pages/tabBar/component/component.js.nvue:85:18)  
10:01:53.779 at  (pages/tabBar/component/component.js.nvue:88:10)  
10:01:53.799 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'length' of undefined  
10:01:53.820 at  (app-service.js:23850:126538)  
10:01:53.839 at  (app-service.js:23850:127243)  
10:01:53.860 at  (app-service.js:23851:30)  
10:01:53.881 at __webpack_require__ (app-service.js:80:30)  
10:01:53.902 at  (app-service.js:49898:41)  
10:01:53.922 at __webpack_require__ (app-service.js:80:30)  
10:01:53.962 at  (app-service.js:164:1)  
10:01:53.983 at __webpack_require__ (app-service.js:80:30)  
10:01:54.003 at checkDeferredModules (app-service.js:46:23)  
2022-07-28 10:09 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

Android 11 Redmi K40 ,未复现问题。重新运行是否正常?

  • PHP仿站 (作者)

    正常了。

    2022-08-01 15:30

该问题目前已经被锁定, 无法添加新回复