如何使用 npm 重新安装应用程序的依赖项? [英] How do you reinstall an app's dependencies using npm?
本文介绍了如何使用 npm 重新安装应用程序的依赖项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种简单的方法可以重新安装我的应用依赖的所有包(即它们在我的应用 node_modules 文件夹中)?
Is there a simple way to reinstall all packages that my app depends on (i.e. they are in my apps node_modules folder)?
推荐答案
我能看到的最简单的方法是删除 node_modules
文件夹并执行 npm install
.
The easiest way that I can see is delete node_modules
folder and execute npm install
.
这篇关于如何使用 npm 重新安装应用程序的依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文