2***@qq.com
2***@qq.com
  • 发布:2021-11-08 21:12
  • 更新:2023-05-18 21:52
  • 阅读:799

cli命令行创建项目错误

分类:uni-app

Fetching remote preset dcloudio/uni-preset-vue...
ERROR Failed fetching remote preset dcloudio/uni-preset-vue:
ERROR RequestError: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 10299
RequestError: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 10299
at ClientRequest.<anonymous> (D:\nodeConfig\npmGlobal\node_modules\@vue\cli\node_modules\got\index.js:182:22)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:315:20)
at ClientRequest.onError (D:\nodeConfig\npmGlobal\node_modules\@vue\cli\node_modules\tunnel-agent\index.js:179:21)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:469:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)

以上为错误信息
墙没问题,可以正常访问github,

2021-11-08 21:12 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com (作者)

已解决

abelWang

abelWang

我也遇到了同样的问题,请问怎么解决的?

l***@qq.com

l***@qq.com

[HBuilder] 21:51:45.484 pages/index/index.wxml
[HBuilder] 21:51:45.484 compiling other files
[HBuilder] 21:51:45.487 compiling other files
[HBuilder] 21:51:45.487 upload
[HBuilder] 21:51:47.728 上传项目到微信平台失败
[HBuilder] 21:51:47.731 Error: Error: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 10809

要回复问题请先登录注册