1.全局安装npm包–rimraf工具包
npm install rimraf -g
2.进入node_modules所在文件夹,指令:
rimraf node_modules
清除npm缓存
npm cache clean --force
1.全局安装npm包–rimraf工具包
npm install rimraf -g
2.进入node_modules所在文件夹,指令:
rimraf node_modules
清除npm缓存
npm cache clean --force