摘要: 安装cnpm: npm install -g cnpm --registry=https://registry.npm.taobao.org 安装删除工具: cnpm install rimraf -g 切换到项目目录: cd D:\Projects\my_app 使用命令删除node_module 阅读全文
posted @ 2021-02-07 21:07 starlog 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 切换npm源为镜像源: npm config set registry https://registry.npmmirror.com 切换yarn源为镜像源: yarn config set registry https://registry.npmmirror.com 切换npm源为默认源: np 阅读全文
posted @ 2021-02-07 19:32 starlog 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 进入nvm安装目录: cd C:\Users\lenovo\AppData\Roaming\nvm 输入以下命令,然后输入y: RD /S v15.8.0 阅读全文
posted @ 2021-02-07 15:59 starlog 阅读(1407) 评论(0) 推荐(0) 编辑
摘要: 使用nvm安装node: https://www.cnblogs.com/starlog/p/14384773.html 切换npm源为淘宝源: npm config set registry https://registry.npm.taobao.org 安装nrm: npm install -g 阅读全文
posted @ 2021-02-07 15:25 starlog 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 一、打开命令行工具 二、使用nvm安装node: https://www.cnblogs.com/starlog/p/14384773.html 三、运行以下命令,分别安装cnpm、yarn、tyarn: npm i -g cnpm yarn tyarn --registry=https://reg 阅读全文
posted @ 2021-02-07 14:29 starlog 阅读(3987) 评论(0) 推荐(0) 编辑
摘要: 一、进入nvm下载页面(Windows): https://github.com/coreybutler/nvm-windows/releases 如果打不开GitHub,可以尝试修改host文件: https://www.cnblogs.com/starlog/p/14458834.html 二、 阅读全文
posted @ 2021-02-07 13:39 starlog 阅读(10592) 评论(0) 推荐(0) 编辑