运行=>运行到小程序模拟器=>微信开发者工具
- 发布:2024-09-23 08:47
- 更新:2024-09-27 10:47
- 阅读:345
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX类型: Alpha
HBuilderX版本号: 4.28
第三方开发者工具版本号: 1.06.2409131
基础库版本号: 3.4.10
项目创建方式: HBuilderX
操作步骤:
预期结果:
微信开发者工具启动成功
微信开发者工具启动成功
实际结果:
RangeError: Maximum call stack size exceeded
08:35:38.892 at String.replace (<anonymous>)
08:35:38.910 at normalizePath (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:12:45)
08:35:38.924 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:188:28)
RangeError: Maximum call stack size exceeded
08:35:38.892 at String.replace (<anonymous>)
08:35:38.910 at normalizePath (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:12:45)
08:35:38.924 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:188:28)
bug描述:
升级HbuilderX之后,小程序运行报错,运行失败
RangeError: Maximum call stack size exceeded
08:35:38.892 at String.replace (<anonymous>)
08:35:38.910 at normalizePath (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:12:45)
08:35:38.924 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:188:28)
08:35:38.940 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:206:20)
......
我也是,打包H5没问题,同样的项目打包小程序报这个
检查了git记录这个文件都没动过,昨天才成功打包了小程序
[HBuilder] 22:31:48.001 RangeError: Maximum call stack size exceeded
[HBuilder] 22:31:48.008 at normalizePath (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/uni-cli-shared/lib/util.js:12:23)
[HBuilder] 22:31:48.016 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:188:28)
[HBuilder] 22:31:48.024 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:206:20)
[HBuilder] 22:31:48.028 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:206:20)
[HBuilder] 22:31:48.035 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:206:20)
[HBuilder] 22:31:48.043 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:206:20)