17:55:42.921 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js):
17:55:42.921 Error: 组件 uniPopup 引用错误,仅支持 import 方式引入组件
17:55:42.932 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/util.js:38:13
17:55:42.955 at Array.forEach (<anonymous>)
17:55:42.962 at parseComponents (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/util.js:32:9)
17:55:42.963 at handleComponentsObjectExpression (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/scoped-component-traverse.js:59:22)
17:55:42.977 at handleObjectExpression (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/scoped-component-traverse.js:52:5)
17:55:42.991 at ExportDefaultDeclaration (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/scoped-component-traverse.js:159:11)
17:55:43.006 at NodePath._call (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/path/context.js:46:20)
17:55:43.023 at NodePath.call (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/path/context.js:36:17)
17:55:43.036 at NodePath.visit (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/path/context.js:84:31)
17:55:43.047 at TraversalContext.visitQueue (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:96:16)
17:55:43.067 at TraversalContext.visitMultiple (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:67:17)
17:55:43.068 at TraversalContext.visit (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:119:19)
17:55:43.079 at traverseNode (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
17:55:43.092 at NodePath.visit (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/path/context.js:90:52)
17:55:43.105 at TraversalContext.visitQueue (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:96:16)
17:55:43.120 at TraversalContext.visitSingle (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:72:19)
17:55:43.129 at TraversalContext.visit (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/context.js:121:19)
17:55:43.146 at traverseNode (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
17:55:43.166 at traverse (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@babel/traverse/lib/index.js:50:34)
17:55:43.178 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/babel/scoped-component-traverse.js:116:5
17:55:43.193 at parseComponents (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/util.js:9:7)
17:55:43.208 at Object.<anonymous> (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js:60:31)
17:55:43.217 TypeError: Cannot read properties of undefined (reading 'includes')
17:55:43.260 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js:53:21
17:55:43.273 at processTicksAndRejections (node:internal/process/task_queues:96:5)
17:55:43.397 正在建立手机连接...
17:55:43.410 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com
17:55:43.426 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {
17:55:43.427 errno: -3008,
17:55:43.440 code: 'ENOTFOUND',
17:55:43.463 syscall: 'getaddrinfo',
17:55:43.464 hostname: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com'
- 发布:2023-10-26 18:01
- 更新:2023-10-27 08:31
- 阅读:192
【报Bug】本地运行报错
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: Apple M1
HBuilderX类型: 正式
HBuilderX版本号: 3.8.12
手机系统: iOS
手机系统版本号: iOS 13.0
手机厂商: 苹果
手机机型: iphonex
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
本地运行
本地运行
预期结果:
正常
正常
实际结果:
报错
报错
bug描述:
本地运行控制台报错,打开基座app无法联网
蛋壳人 (作者)
感谢,找到问题了
2023-10-27 10:22