如果擔(dān)心 node_modules文件手動(dòng)刪除得不徹底,可以嘗試用 rimraf命令 1、裝個(gè)插件先 npm install -g rimraf 2、刪 rimraf node_modules 3、安裝依賴庫 npm install