How to clean node_modules folder of packages that are not in package.json?

后端 未结 13 1208
别那么骄傲
别那么骄傲 2020-12-02 03:58

Assume I install project packages with npm install that looks into package.json for modules to be installed. After a while I see that I don\'t need

相关标签:
13条回答
  • 2020-12-02 04:40

    rimraf is an package for simulate linux command [rm -rf] in windows. which is useful for cross platform support. for install its CLI:

    npm install rimraf -g
    
    0 讨论(0)
提交回复
热议问题