概率报错,无固定复现方法

- 发布:2025-03-26 14:30
- 更新:2025-03-26 15:53
- 阅读:58
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 19045.5608
HBuilderX类型: 正式
HBuilderX版本号: 4.56
手机系统: Android
手机系统版本号: Android 15
手机厂商: 小米
手机机型: Redmi K70 Ultra
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token '}'
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token '}'
实际结果:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token '}'
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token '}'
bug描述:
修改某一部分代码后大概率会报
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token '}'
有时候随便加点代码就好了,有时候得重启
1 个回复
恭喜n发财 - 恭喜恭喜恭喜你呀
更新4.57试试
4.57.2025032507
【uni-app】
MP-Harmony平台 新增 鸿蒙元服务支持 vue2 项目类型
【App插件(含5+App和uni-app的App端)】
【重要】Android平台 修复 4.51版本引发的 部分设备启动白屏或停留在启动界面无法启动的Bug。请使用该版本打包过的开发者尽快升级重新打包