Closed edwinhuish closed 7 years ago
已用sudo,也测试过sudo chown -R edwin /home/edwin/.config
你手动运行 npm config set registry https://registry.npm.taobao.org/ 呢,也会有错吗?
不过我可以优雅处理一下,上面的命令执行失败也不是很重要,但现在会导致安装不成功。
npm config set registry https://registry.npm.taobao.org/
这个早设置了,一直在用
后来装了双系统,没有这个问题,貌似仅仅是VM才会遇到的问题。
请看下面的错误: 运行环境是 virtualbox, ubuntu 17.04 32bit, node v8.0.0, npm 5.0.3