场景复现
解决办法
1.取消npm代理设置,执行命令
npm config set proxy null
npm config set https-proxy null
2.添加淘宝镜像
npm --registry https://registry.npm.taobao.org info underscore
2023-11-12 19:12:04
npm config set proxy null
npm config set https-proxy null
npm --registry https://registry.npm.taobao.org info underscore
下一篇:设置npm的registry