- This command always solve this problem:
After this command will be executed it will create
node_modules with all libs.
If we want to see what npm is doing in the background (when app is large, then npm install can take quite time) we can use
--verbose parameter and it will print all the stuff npm downloads.
npm install --verbose
- We can start angular app from command line with:
Every time after we clone fresh git repo we need to install all packages and dependencies we have configured for this project.
All the stuff will go to the directory:
This directory with all libs shouldn't be added to repository.
Description from npm documentation:
This command installs a package, and any packages that it depends on.
link to npm-install doc - here