1.错误信息
4327 error code E404
4328 error 404 Not Found - GET https://registry.npm.taobao.org/@xtuc/long/-/long-4.2.1.tgz - [not_found] document not found
2.解决方法
先查看是否设置代理
npm config get proxy
npm config get https-proxy
如果返回的不是null,就先清除代理
npm config set https-proxy null
npm config set proxy null
重新设置代理
标签:npm,宝塔,set,报错,proxy,https,null,config From: https://www.cnblogs.com/shen-cong/p/18163644npm config set registry https://registry.npmjs.org/