Uri Uri -4 years ago 102
Node.js Question

How do I install all the requirements with npm?

I would like to clone https://github.com/tstringer/create-react-app-with-redux and start a new project. I ran

npm start
and then ran
npm install
for each module not present, but there are many of them. Is there a way to install all the requirements? Something like
pip install -r requirements.txt
in Python.


Answer Source

Just run npm install without arguments. It will resolve the required dependencies from the package.json file.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download