有时候npm install 安装时太慢了,可以试试设置淘宝镜像
1、更换镜像
npm config set registry https://registry.npm.taobao.org
2、查看镜像
npm config get registry
如果返回 https://registry.npm.taobao.org/
,说明配置的是淘宝镜像。
3、还原镜像
npm config set registry https://registry.npmjs.org
有时候npm install 安装时太慢了,可以试试设置淘宝镜像
1、更换镜像
npm config set registry https://registry.npm.taobao.org
2、查看镜像
npm config get registry
如果返回 https://registry.npm.taobao.org/
,说明配置的是淘宝镜像。
3、还原镜像
npm config set registry https://registry.npmjs.org
2024-08-27 09:08:17
2024-05-09 11:05:34
2024-06-06 10:06:47
2024-04-22 09:04:34
2024-03-29 15:03:20
2024-04-20 17:04:38
2024-05-10 08:05:15
2024-10-30 21:10:12