Is there a simple way to reinstall all packages that my app depends on (i.e. they are in my apps node_modules folder)?
You can do this with one simple command:
npm ci
Documentation:
npm ci Install a project with a clean slate