To my understanding, the \'npm\' knows about git, so i can use it to retrieve Node.js modules from github. So, I have created Node.js module and hosted it at github. When I
For those who already have a package.json file:
Just in case you didn't notice the comments below the accepted answer, you need to make sure you are inside your app folder to be able to run npm start
. It seems to be a common mistake to accidentally run npm start
from one directory above. Hope this helps.