每次保存代码的时候,就会出现,
- 发布:2022-11-23 17:29
- 更新:2022-11-23 17:29
- 阅读:163
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11家庭 22H2
HBuilderX类型: Alpha
HBuilderX版本号: 3.6.10
手机系统: Android
手机系统版本号: Android 12
手机厂商: 小米
手机机型: redme note10pro miui13.0.11
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
不应该出现
不应该出现
实际结果:
每次出现这些bug后,必须重启应用才可以让代码生效
每次出现这些bug后,必须重启应用才可以让代码生效
bug描述:
17:01:38.400 正在同步手机端程序文件...
17:01:38.410 正在同步手机端程序文件...
17:01:38.418 正在同步手机端程序文件...
17:01:38.419 正在同步手机端程序文件...
17:01:38.430 正在同步手机端程序文件...
17:01:38.528 项目 'pin-vue2' 编译成功。
17:01:38.539 正在同步手机端程序文件...
17:01:39.018 同步手机端程序文件完成
17:01:40.240 同步手机端程序文件完成
17:01:41.531 同步手机端程序文件完成
17:01:41.868 Uncaught TypeError: Cannot read properties of undefined (reading 'id') at view.umd.min.js:1
17:01:41.881 Uncaught TypeError: Cannot read properties of undefined (reading '__needTouchEvent__') at __uniappview.html:1
17:01:42.557 reportJSException >>>> exception function:createInstanceContext, exception:JavaScript execute error!Uncaught SyntaxError: Invalid or unexpected token
17:01:43.188 同步手机端程序文件完成
17:01:45.125 同步手机端程序文件完成
17:01:47.380 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:31:19.498 正在差量编译...
17:31:19.498 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.499 正在差量编译...
17:31:19.627 正在差量编译...
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.706 项目 'pin-vue2' 编译成功。
17:31:20.716 正在同步手机端程序文件...
17:31:20.727 正在同步手机端程序文件...
17:31:20.728 正在同步手机端程序文件...
17:31:20.739 正在同步手机端程序文件...
17:31:20.740 正在同步手机端程序文件...
17:31:20.748 正在同步手机端程序文件...
17:31:20.748 正在同步手机端程序文件...
17:31:20.759 正在同步手机端程序文件...
17:31:20.760 正在同步手机端程序文件...
17:31:20.816 项目 'pin-vue2' 编译成功。
17:31:20.828 正在同步手机端程序文件...
17:31:22.662 同步手机端程序文件完成
17:31:23.503 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:31:24.265 同步手机端程序文件完成
17:31:24.888 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:31:25.849 同步手机端程序文件完成
17:31:26.461 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected end of input
17:31:27.393 同步手机端程序文件完成
17:31:28.054 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:31:28.866 同步手机端程序文件完成
17:33:58.640 正在同步手机端程序文件...
17:33:58.937 正在同步手机端程序文件...
17:33:59.360 正在同步手机端程序文件...
17:33:59.375 正在同步手机端程序文件...
17:33:59.376 正在同步手机端程序文件...
17:33:59.390 正在同步手机端程序文件...
17:33:59.390 正在同步手机端程序文件...
17:33:59.402 正在同步手机端程序文件...
17:33:59.402 同步手机端程序文件完成
17:33:59.413 正在同步手机端程序文件...
17:33:59.413 正在同步手机端程序文件...
17:33:59.572 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected end of input
17:34:00.374 同步手机端程序文件完成
17:34:00.968 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected end of input
17:34:01.878 同步手机端程序文件完成
17:34:02.535 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:34:03.445 同步手机端程序文件完成
17:34:04.105 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:34:04.985 同步手机端程序文件完成
17:34:05.623 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Invalid or unexpected token
17:34:06.468 同步手机端程序文件完成
17:34:07.022 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token ';'
17:34:07.973 同步手机端程序文件完成
17:34:08.498 同步手机端程序文件完成
17:34:09.361 同步手机端程序文件完成
17:34:09.899 error
17:34:09.926 请求的页面无法打开:file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/__uniappview.html at file:///android_asset/data/dcloud_error.html:41
17:34:10.014 同步手机端程序文件完成
17:34:10.043 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token ':'
17:34:10.722 同步手机端程序文件完成
17:34:11.306 同步手机端程序文件完成
17:34:12.036 同步手机端程序文件完成
17:34:12.640 同步手机端程序文件完成
17:34:13.508 同步手机端程序文件完成
17:34:14.352 同步手机端程序文件完成
17:34:15.057 同步手机端程序文件完成
17:34:15.807 同步手机端程序文件完成
17:34:17.486 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected token ':'
0 个回复