快速删除node_modules

277 阅读1分钟

1.在全局安装 rimraf 模块

npm install rimraf -g

2.然后通过其命令来快速删除 node_modules 目录:

rimraf node_modules