快速删除 node_modules
摘要:node_modules 文件夹中包含了大量 node 需要的依赖包,如果直接删除的话,非常耗时。 我们可以通过以下方式快速删除node_modules: 安装 rimraf rimraf包的作用:以包的形式包装rm -rf命令,用来删除文件和文件夹的,不管文件夹是否为空,都可以删除。 执行 npm
阅读全文
posted @ 2022-10-18 16:34
posted @ 2022-10-18 16:34
posted @ 2020-09-07 15:25
posted @ 2020-06-24 19:09
posted @ 2020-04-07 14:12
posted @ 2019-02-02 17:17