M_先生
M_先生
  • 发布:2024-02-23 15:58
  • 更新:2024-09-03 17:13
  • 阅读:237

【已解决】打包报错,请问怎么解决

分类:HBuilderX
[HBuilder] 15:35:04.926 Module Error (from ./node_modules/@dcloudio/vue-cli-plugin-hbuilderx/packages/webpack-uni-nvue-loader/lib/style.js):  
[HBuilder] 15:35:04.927 (Emitted value instead of an instance of Error) Error: undefined:332:2: missing '}',Error: undefined:335:13: property missing ':',Error: undefined:335:13: missing '}',Error: undefined:335:13: selector missing  
[HBuilder] 16:26:56.286 TypeError: Cannot read properties of undefined (reading 'includes')  
[HBuilder] 16:26:56.308 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js:53:21  
[HBuilder] 16:26:56.309 at processTicksAndRejections (node:internal/process/task_queues:96:5)  
[HBuilder] 16:27:02.687 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com  
[HBuilder] 16:27:02.688 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {  
[HBuilder] 16:27:02.702 errno: -3008,  
[HBuilder] 16:27:02.703 code: 'ENOTFOUND',  
[HBuilder] 16:27:02.714 syscall: 'getaddrinfo',  
[HBuilder] 16:27:02.725 hostname: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com'  
[HBuilder] 16:27:02.746 }

报错信息中看不出来具体哪里错误,所以排查了近期修改过的每个文件!!!!!

2024-02-23 15:58 负责人:无 分享
已邀请:
4***@qq.com

4***@qq.com

请问下是怎么解决的?

  • BoredApe

    请上传错误日志

    2024-09-03 16:35

4***@qq.com

4***@qq.com

@BoredApe 报错日志

LGG233

LGG233 - others

解决了把解决方式发现出来,让大家避免踩坑

要回复问题请先登录注册