控制台报错信息如下:
09:54:21.913 RangeError: Maximum call stack size exceeded
09:54:21.928 at String.replace (<anonymous>)
09:54:21.945 at normalizePath (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:12:45)
09:54:21.958 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:188:28)
09:54:21.975 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:206:20)
09:54:21.992 at hasMainPackageComponent (D:\HBuilderX-alpha\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\split-chunks.js:206:20)
JinyuXiii
- 发布:2024-09-24 09:57
- 更新:2024-10-25 10:39
- 阅读:475
问题已确定,我发你修复文件你替换一下。
在 HBuilderX安装目录下找到以下文件:
plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js
替换为我发的附件
飞翔的青蛙
替换后可以了
2024-09-27 10:45