大家都知道国内直接使用 npm
的官方镜像是非常慢的,这里推荐使用淘宝NPM
镜像。
这样就可以使用cnpm
命令来安装模块了:
安装项目依赖:一定要从官方仓库安装,npm
服务器在国外所以这一步安装速度会很慢。
不要从国内镜像cnpm
安装(会导致后面缺了很多依赖库)
大家都知道国内直接使用 npm
的官方镜像是非常慢的,这里推荐使用淘宝NPM
镜像。
这样就可以使用cnpm
命令来安装模块了:
安装项目依赖:一定要从官方仓库安装,npm
服务器在国外所以这一步安装速度会很慢。
不要从国内镜像cnpm
安装(会导致后面缺了很多依赖库)
上一篇:Cordova存储
下一篇:String.trim()
解决docker镜像下载慢、无法下载的问题
将npm淘宝镜像切换至淘宝的新镜像域名。npm 淘宝镜像到期了。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M