如何在Node JS中卸载NPM模块?
问题: As commonly known, any npm module can be installed by running a simple command: npm install <module_name> . 众所周知,可以通过运行一个简单的命令来安装任何npm模块: npm install <module_name> 。 I have installed a few modules that I do not use anymore and I just want to get them off. 我已经安装了一些不再使用的模块,我只想把它们取下来。 I have a few questions regarding this: 我对此有一些疑问: Do we have any command or process to uninstall a module from the root (something like npm uninstall <module_name> ) or will simply removing the module files do? 我们是否有任何命令或过程从根目录卸载模块(类似于 npm uninstall <module_name> ),还是只是删除模块文件呢? How does it affect us if we keep