Maximum call stack size exceeded,uni-app cli下载vite-ts 运行报错
Maximum call stack size exceeded,uni-app cli下载vite-ts 运行报错
操作步骤:
- npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
- npm run dev:mp-weixin
- 在微信开发者工具中打开
- IOS真机调试会报错
- vendor.js:4423 Error during evaluating file “app.js”:
- vendor.js:4423 Maximum call stack size exceeded.
预期结果:
不会报错
实际结果:
vendor.js:4423 Error during evaluating file “app.js”: vendor.js:4423 Maximum call stack size exceeded. vendor.js:4423 $@https://usr//app-service.js:5509:11 $@https://usr//app-service.js:5507:54 $@https://usr//app-service.js:5507:54 $@https://usr//app-service.js:5507:54 8. MiniProgramError undefined is not an object (evaluating ‘getApp().$vm’) TypeError: undefined is not an object (evaluating ‘getApp().$vm’) @https://usr//app-service.js:8532:13 @[native code] h@https://lib/WAServiceMainContext.js:1:41859 getAppVm@[native code] getAppVm@https://usr//app-service.js:8533:24 @https://usr//app-service.js:8536:36 @[native code] h@https://lib/WAServiceMainContext.js:1:41859 $createComponent@[native code] $createComponent@https://usr//app-service.js:8540:24 @https://usr//app-service.js:8652:38 @[native code] h@https://lib/WAServiceMainContext.js:1:41859 attached@[native code] attached@https://usr//app-service.js:8670:30 @https://lib/WASubContext.js:1:194275 @https://lib/WASubContext.js:1:194148 t@https://lib/WASubContext.js:1:212658 f@https://lib/WASubContext.js:1:212980 @https://lib/WASubContext.js:1:225457 ns@https://lib/WASubContext.js:1:401430 @https://lib/WASubContext.js:1:459851 @https://lib/WASubContext.js:1:420293 @https://lib/WASubContext.js:1:461713 @https://lib/WASubContext.js:1:420293 @https://lib/WASubContext.js:1:467389 @https://lib/WASubContext.js:1:420293 Rr@https://lib/WASubContext.js:1:468177 @https://lib/WASubContext.js:1:419327 @https://lib/WAServiceMainContext.js:1:971734 emitInternal@https://lib/WAServiceMainContext.js:1:976970 yC@https://lib/WAServiceMainContext.js:1:1183586 EX@https://lib/WAServiceMainContext.js:1:1473267 O@https://lib/WAServiceMainContext.js:1:2334392 @https://lib/WAServiceMainContext.js:1:2335702 @https://lib/WAServiceMainContext.js:1:1420297 @https://lib/WAServiceMainContext.js:1:971833 emit@https://lib/WAServiceMainContext.js:1:976878 @https://lib/WAServiceMainContext.js:1:978097 @https://lib/WAServiceMainContext.js:1:968063 @https://lib/WAServiceMainContext.js:1:957768 @https://lib/WAServiceMainContext.js:1:377921 _emit@https://lib/WAServiceMainContext.js:1:377837 emit@https://lib/WAServiceMainContext.js:1:377867 emit@[native code] emit@https://lib/WAServiceMainContext.js:1:377113 subscribeHandler@https://lib/WAServiceMainContext.js:1:385808 dispatchBridgeMessages@https://lib/WAServiceMainContext.js:1:44516 @https://lib/WAServiceMainContext.js:1:3079672 @https://lib/WAServiceMainContext.js:1:44698 G@https://lib/WAServiceMainContext.js:1:333045 @https://lib/WAServiceMainContext.js:1:333271 S@https://lib/WAServiceMainContext.js:1:311117
bug描述:
- npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
- npm run dev:mp-weixin
- 在微信开发者工具中打开
- IOS真机调试会报错
- vendor.js:4423 Error during evaluating file “app.js”:
- vendor.js:4423 Maximum call stack size exceeded.
- vendor.js:4423 $@https://usr//app-service.js:5509:11
- $@https://usr//app-service.js:5507:54
- $@https://usr//app-service.js:5507:54
- $@https://usr//app-service.js:5507:54
-
- MiniProgramError
- undefined is not an object (evaluating ‘getApp().$vm’)
- TypeError: undefined is not an object (evaluating ‘getApp().$vm’)
- @https://usr//app-service.js:8532:13
- @[native code]
- h@https://lib/WAServiceMainContext.js:1:41859
- getAppVm@[native code]
- getAppVm@https://usr//app-service.js:8533:24
- @https://usr//app-service.js:8536:36
- @[native code]
- h@https://lib/WAServiceMainContext.js:1:41859
- $createComponent@[native code]
- $createComponent@https://usr//app-service.js:8540:24
- @https://usr//app-service.js:8652:38
- @[native code]
- h@https://lib/WAServiceMainContext.js:1:41859
- attached@[native code]
- attached@https://usr//app-service.js:8670:30
- @https://lib/WASubContext.js:1:194275
- @https://lib/WASubContext.js:1:194148
- t@https://lib/WASubContext.js:1:212658
- f@https://lib/WASubContext.js:1:212980
- @https://lib/WASubContext.js:1:225457
- ns@https://lib/WASubContext.js:1:401430
- @https://lib/WASubContext.js:1:459851
- @https://lib/WASubContext.js:1:420293
- @https://lib/WASubContext.js:1:461713
- @https://lib/WASubContext.js:1:420293
- @https://lib/WASubContext.js:1:467389
- @https://lib/WASubContext.js:1:420293
- Rr@https://lib/WASubContext.js:1:468177
- @https://lib/WASubContext.js:1:419327
- @https://lib/WAServiceMainContext.js:1:971734
- emitInternal@https://lib/WAServiceMainContext.js:1:976970
- yC@https://lib/WAServiceMainContext.js:1:1183586
- EX@https://lib/WAServiceMainContext.js:1:1473267
- O@https://lib/WAServiceMainContext.js:1:2334392
- @https://lib/WAServiceMainContext.js:1:2335702
- @https://lib/WAServiceMainContext.js:1:1420297
- @https://lib/WAServiceMainContext.js:1:971833
- emit@https://lib/WAServiceMainContext.js:1:976878
- @https://lib/WAServiceMainContext.js:1:978097
- @https://lib/WAServiceMainContext.js:1:968063
- @https://lib/WAServiceMainContext.js:1:957768
- @https://lib/WAServiceMainContext.js:1:377921
- _emit@https://lib/WAServiceMainContext.js:1:377837
- emit@https://lib/WAServiceMainContext.js:1:377867
- emit@[native code]
- emit@https://lib/WAServiceMainContext.js:1:377113
- subscribeHandler@https://lib/WAServiceMainContext.js:1:385808
- dispatchBridgeMessages@https://lib/WAServiceMainContext.js:1:44516
- @https://lib/WAServiceMainContext.js:1:3079672
- @https://lib/WAServiceMainContext.js:1:44698
- G@https://lib/WAServiceMainContext.js:1:333045
- @https://lib/WAServiceMainContext.js:1:333271
- S@https://lib/WAServiceMainContext.js:1:311117
信息类别 | 信息内容 |
---|---|
产品分类 | uniapp/小程序/微信 |
开发环境 | Windows |
操作系统版本 | Windows11 |
第三方工具版本 | 1.98.0 |
基础库版本 | 3.0.0-4030620241128001 |
项目创建方式 | CLI |
CLI版本 | 5.0.8 |
App下载地址 | [npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project](//ask.dcloud.net.cn/npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project) |
更多关于Maximum call stack size exceeded,uni-app cli下载vite-ts 运行报错的实战教程也可以访问 https://www.itying.com/category-93-b0.html
更多关于Maximum call stack size exceeded,uni-app cli下载vite-ts 运行报错的实战教程也可以访问 https://www.itying.com/category-93-b0.html