Answer the question
In order to leave comments, you need to log in
Why is npm not installed on a new project?
Greetings. Why are npm not installed? I type npm init and get the following message:
Answer the question
In order to leave comments, you need to log in
The npm init command initializes a new project and creates a package.json file. If you need to install all modules from this file, then you need to type npm install, if you need to install some other module that is not in package.json, then you need to run npm i --save MODULE_NAME .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question