NPM 清洁模块 [英] NPM clean modules
本文介绍了NPM 清洁模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法让 npm 解构 node_modules 下的所有模块?像 npm rebuild 这样的东西会删除所有构建工件但不重建它们?
Is there a way to get npm to unbuild all the modules under node_modules? Something like npm rebuild that removes all build artifacts but doesn't rebuild them?
推荐答案
你可以直接删除node_module目录
You can just delete the node_module directory
rm -rf node_modules/
这篇关于NPM 清洁模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文