npm突然出现如下报错
yarn install v1.22.19
[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 An unexpected error occurred: "https://registry.npmjs.org/ant-design-vue: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/chris/Projects/guiyun/te-h5/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
不管是npm
、yarn
还是pnpm
都无法使用,这个时候我们需要考虑是不是代理出现问题了
npm config rm proxy
npm config rm https-proxy
我们可以将代理先全部删了,尝试下
评论(0)