要安装NPm 总是失败 自己ping https://registry.npmjs.org/ https://registry.npmjs.org/ 这个网址PING不通 其他机器 RN的10刀机器都能PING通,也能安装上,真是纳闷了。 报错信息 npm ERR! code EHOSTUNREACH npm ERR! syscall connect npm ERR! errno EHOSTUNREACH npm ERR! request to https://registry.npmmirror.com/pm2 failed, reason: connect EHOSTUNREACH 2404:2280:1b2:0:715::3fc:443 npm ERR! A complete log of this run can be found in: 换了镜像源还是不行 npm config set registry https://registry.npm.taobao.org 命令将 registry 设置为淘宝镜像的地址,这样在使用 npm 安装包时将使用淘宝镜像源。 有大佬遇过吗?求解?
没有回复内容