升级node.js
复制代码
1
2
npm install -g n
n stable // 最新版输入 n latest
备注:
nodjs npm 报错:Segmentation fault
执行n命令查看,是因为显示当前没有选中任何版本。
处理方法:
n 4.4.1
升级npm
复制代码
1
npm -g install npm@next
最后
以上就是动听月饼最近收集整理的关于如何升级node.js和npm?的全部内容,更多相关如何升级node内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复