Answer the question
In order to leave comments, you need to log in
Why is express not installed?
Good afternoon, I can't install expres.
I should get like this:
Next will be a description of my actions and the problem itself.
1) I go to the console and go to my folder.
2) I write the command npm install
Here I translated using Yandex translator, and it says "there is no such file or directory ..."
The following appeared in the folders:
3) Then I tried to write npm install express-generator -g
4) After that I I decided to prescribe the same thing but not globally npm install express-generator
Here I already have node_modules in the folder and pakage-lock.json has changed.
On the Internet, I didn’t find anything about this, that’s why I’m writing here on the forms.
Answer the question
In order to leave comments, you need to log in
https://docs.npmjs.com/cli-documentation/
In addition, they make it clear to you in quite normal English that you are missing a package.json file
PS Start with these sections:
https://docs.npmjs.com/cli- commands/init.html
https://docs.npmjs.com/cli-commands/install.html
Packages themselves usually have readme too:
https://www.npmjs.com/package/express-generator#qu.. .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question