纱线安装:“信息网络连接似乎有问题。正在重试...”

时间:2018-12-03 21:27:17

标签: javascript yarnpkg

尝试从Yarn安装软件包,但我始终收到致命错误以及网络连接问题。我发现的唯一一件事是关于增加yarn install的超时,但是那也不起作用。由于我已经建立连接,因此不确定为什么网络连接会出现问题。

$ yarn install
yarn install v1.12.3
[1/5] Validating package.json...
[2/5] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
[3/5] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git
Directory: C:\Users\c278311\Documents\test
Output:
fatal: unable to look up github.com (port 9418) (Either the application has not called WSAStartup, or WSAStartup fail
ed. )
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
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...

0 个答案:

没有答案