我正在尝试使用yarn安装角度CLI,出于某种原因,因为角度CLI的npm安装也有错误,不知道为什么。这就是我尝试使用纱线的原因
尝试了这个命令:
yarn global add angular-CLI
,错误是这样的:
test@test-X455LAB ~ $ yarn global add angular-cli
yarn global v1.2.1
[1/4] Resolving packages...
warning angular-cli@1.0.0-beta.28.3: angular-cli has been renamed to
@angular/cli. Please update your dependencies.
warning angular-cli > remap-istanbul > istanbul > fileset >
minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid
a RegExp DoS issue
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 An unexpected error occurred: "http://registry.npmjs.org/isobject: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/home/test/.config/yarn/global/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
似乎是什么问题?感谢