hbulider打包的时候报错,只要开启分包优化就报错,
[HBuilder] 09:51:57.197 RangeError: Maximum call stack size exceeded
[HBuilder] 09:51:57.198 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:189:16)
[HBuilder] 09:51:57.200 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.201 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.203 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.204 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.206 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.207 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.208 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.210 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.211 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.212 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.214 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.215 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.217 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.218 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.219 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.221 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.222 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.223 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.225 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.226 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.227 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.229 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.230 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.231 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.233 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.234 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.235 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.237 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.238 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.240 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.241 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.242 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.244 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.245 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.247 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.248 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.249 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.251 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.252 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.253 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.255 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.256 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.257 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.259 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.260 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.261 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.263 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.264 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
[HBuilder] 09:51:57.265 at hasMainPackageComponent (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:212:20)
7***@qq.com
- 发布:2024-12-19 09:53
- 更新:2024-12-19 09:53
- 阅读:17
0 个回复