由于国内网络原因,使用npm官方镜像速度感人,可以通过切换镜像为国内源来进行加速。
1.查看当前镜像
PS E:\japp> npm config get registry
https://registry.npmjs.org/
2.安装nrm
PS E:\japp> npm install -g nrm
3.查看可用镜像源
PS E:\japp> nrm ls
* npm -------- https://registry.npmjs.org/
yarn ------- https://registry.yarnpkg.com/
cnpm ------- http://r.cnpmjs.org/
taobao ----- https://registry.npm.taobao.org/
nj --------- https://registry.nodejitsu.com/
npmMirror -- https://skimdb.npmjs.com/registry/
edunpm ----- http://registry.enpmjs.org/
4.切换为taobao
PS E:\japp> nrm use taobao
Registry has been set to: https://registry.npm.taobao.org/
PS E:\japp> npm config get registry
https://registry.npm.taobao.org/
最新评论
网飞没问题, 迪士尼+有解决方案么?
pp助手是安卓手机用的,根本下载用不来苹果
已解决
这样的话数据库里的结构为{"attachment":{"content":"xxx"}}, 要怎么才能变成{"content":"xxx"},从而使结构保持一致?
赞! make test不过的坑都写到的,谢谢楼主~
谢谢你
用了root用户还是一直502是怎么回事呢
student id 是空的