首页 > 其他 > 详细

解决无法安装cnpm,cnpm卡顿问题

时间:2018-07-02 14:37:07      阅读:209      评论:0      收藏:0      [点我收藏+]
# 注册模块镜像
npm set registry https://registry.npm.taobao.org  
# node-gyp 编译依赖的 node 源码镜像  
npm set disturl https://npm.taobao.org/dist 
# 清空缓存  
npm cache clean --force  
# 安装cnpm  
npm install -g cnpm --registry=https://registry.npm.taobao.org  

解决无法安装cnpm,cnpm卡顿问题

原文:https://www.cnblogs.com/lvyueyang/p/9253630.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!