uni-app 运行到小程序出现 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com

uni-app 运行到小程序出现 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com

操作步骤:

  • 运行到小程序模拟器——微信开发者工具

预期结果:

  • 正常打开微信开发者工具

实际结果:

  • 编译失败

bug描述:

11:10:31.711 正在编译中… 11:10:46.732 TypeError: Cannot read properties of undefined (reading ‘indexOf’) at Object.chunks [as chunksFilter] (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/@dcloudio/vue-cli-plugin-uni/lib/split-chunks.js:80:27) 11:10:46.738 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/optimize/SplitChunksPlugin.js:1652:47 11:10:46.738 at Hook.eval [as call] (eval at create (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/tapable/lib/HookCodeFactory.js:19:10), :25:16) 11:10:46.749 at Hook.CALL_DELEGATE [as _call] (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/tapable/lib/Hook.js:14:14) 11:10:46.749 at Compilation.seal (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/Compilation.js:2969:36) 11:10:46.761 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/Compiler.js:1204:20 11:10:46.767 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/Compilation.js:2772:4 11:10:46.767 at eval (eval at create (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/tapable/lib/HookCodeFactory.js:33:10), :29:1) 11:10:46.778 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:380:10 11:10:46.784 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/neo-async/async.js:2830:7 11:10:46.794 at Object.each (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/neo-async/async.js:2850:39) 11:10:46.795 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:356:17 11:10:46.800 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/neo-async/async.js:2830:7 11:10:46.801 at Object.each (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/neo-async/async.js:2850:39) 11:10:46.811 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:50:15 11:10:46.819 at Hook.eval [as callAsync] (eval at create (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/tapable/lib/HookCodeFactory.js:33:10), :25:1) 11:10:46.819 at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/tapable/lib/Hook.js:18:14) 11:10:46.831 at Compilation.finish (/Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/Compilation.js:2729:28) 11:10:46.831 at /Users/longxiaqiu/lubanlou/gvsun-business/provider-api/h5-front/node_modules/webpack/lib/Compiler.js:1199:19 11:10:46.845 at processTicksAndRejections (node:internal/process/task_queues:78:11) 11:10:46.850 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com 11:10:46.850 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { 11:10:46.861 errno: -3008, 11:10:46.861 code: ‘ENOTFOUND’, 11:10:46.867 syscall: ‘getaddrinfo’, 11:10:46.878 hostname: ‘96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com’ 11:10:46.878 }


更多关于uni-app 运行到小程序出现 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com的实战教程也可以访问 https://www.itying.com/category-93-b0.html

9 回复

请提供下测试工程

更多关于uni-app 运行到小程序出现 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com的实战教程也可以访问 https://www.itying.com/category-93-b0.html


打包发给您?

已私信 感谢

.811 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com 12:54:23.818 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { 12:54:23.819 errno: -3008, 12:54:23.828 code: ‘ENOTFOUND’, 12:54:23.828 syscall: ‘getaddrinfo’, 12:54:23.834 hostname: ‘96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com’ 12:54:23.840 } 同样问题 怎么解决

回复 w1001616: 提供下详细信息

回复 w1001616: 你好,请问解决了么,我也遇到了,一模一样的问题

回复 2***@qq.com: 可以单独发帖,提供详细信息

回复 YUANRJ: 已发帖,辛苦帮忙看看

回复 YUANRJ: 帖子链接https://ask.dcloud.net.cn/question/187304

回到顶部