npm install error
It has been 1187 days since the last update, the content of the article may be outdated.
npm安装包失败
bash
1 | npm http GET https://registry.npmjs.org/socket.io |
问题是HTTPS访问失败,设置为HTTP访问即可解决:
bash
1 | npm config set registry http://registry.npmjs.org/ |
老版本ubuntu server node(0.6) 无法更新
bash
1 | apt-get install python-software-properties |
评论
TwikooValine