npm查看源
源:https://www.jianshu.com/p/748a65d4f7a5
查看源
npm config get registry // 或 npm config list
修改源
# 默认源 npm config set registry https://registry.npmjs.org # https -> http,这样网速就会好很多 npm config set registry http://registry.npmjs.org # 如果还不能下载,就切换成淘宝源 npm config set registry https://registry.npm.taobao.org
不要在该奋斗的年纪选择去偷懒,只有度过一段连自己都被感动了的日子,才会变成那个最好的自己.