npm 基础知识

2022-03-28  本文已影响0人  kyson老师

npm install

npm install 的过程:

install 过程过慢

这是因为用的是国外源,如果想加速 install,可以使用淘宝源:


npm install -g cnpm --registry=https://registry.npm.taobao.org

验证一下,当前是否已经使用淘宝源成功 npm get registry 如果显示 http://registry.npm.taobao.org/ 代表成功。

下载成功标志

下载完成后,downloads 文件夹就会有很多文件。

上一篇 下一篇

猜你喜欢

热点阅读