Install Your Node Application

When you pull down a repository of your Node application, you need to install all the dependencies before running your app. This is also the case for all the starter/completed codes we provide you with.

Let's simulate the process for installing a Node application.

Delete the node_modules folder. Then open the terminal and type the following command:

npm install

This will look up the dependencies in package.json file (and package-lock.json) and install them all.

You must now have node_modules folder rappeared in the root of your application (inside the express-appfolder).