报错如下
WARN GET https://registry.npmjs.org/xxxerror (ECONNRESET). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@xxx%2Fstatic-build error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left
可能的解决方式
在hosts文件内添加下面一行
104.16.26.34 registry.npmjs.org