如何快速徹底刪除node_modules

1.安裝npm包–rimrafnode

npm install rimraf -g

2.在cmd指令下,進入所需刪除的node_modules文件夾的位置,再輸入指令npm

rimraf node_modules

3.等待刪除完成code