npm install error
npm安装包失败
1 | npm http GET https://registry.npmjs.org/socket.io |
问题是HTTPS访问失败,设置为HTTP访问即可解决:
1 | npm config set registry http://registry.npmjs.org/ |
老版本ubuntu server node(0.6) 无法更新
1 | apt-get install python-software-properties |
评论
TwikooValine