方法1:node模塊刪除
全局安裝依賴
npm i rimraf -g
進(jìn)入需要清理的項(xiàng)目中,執(zhí)行
rimraf node_modules
方法2:cmd命令刪除
? ? ? ?文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-716320.html
?rmdir /s/q node_modules
rmdir /s/q 絕對(duì)路徑
?rd /s/q 絕對(duì)路徑
rd /s/q node_modules
?方法3:git命令刪除
? ? ? ?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-716320.html
rm -rf ./node
到了這里,關(guān)于快速卸載項(xiàng)目依賴node-modules的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!