3***@qq.com
3***@qq.com
  • 发布:2024-05-16 11:48
  • 更新:2024-05-16 11:48
  • 阅读:145

在内置终端输入 yarn create vite 无法安装

分类:HBuilderX

一直提示这个,网络没有问题,也没有开代理
yarn create v1.22.22
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error Error: https://registry.yarnpkg.com/create-vite: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 7890
at ClientRequest.onError (C:\Users\柒\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:152896:17)
at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:519:28)
at Socket.socketErrorListener (node:_http_client:500:9)
at Socket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

2024-05-16 11:48 负责人:无 分享
已邀请:

要回复问题请先登录注册