在宝塔npm安装依赖报错
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 config set registry https://registry.npmjs.org/

浙公网安备 33010602011771号