Answer the question
In order to leave comments, you need to log in
Packages from package.json are not installed, what is the reason?
Please tell me what is the cause of the problem - I want to create a new project in gulp.
I copy the file gulpfile.js and package.json to the folder, I type npm i on the command line, an empty node_modules folder is created, on the command line it says that there is no description and repository, and the packages are not installed.
Node.js reinstalled several times, tried different versions from 4.x.x to 6.x.x
PS Previously asked this question, but the solution was to switch to another OS. Now there is no such possibility and it is necessary to work only on Windows.
Answer the question
In order to leave comments, you need to log in
I Googled it for you, read it, I think it's all about the case
npm install (in package directory, no arguments):
Install the dependencies in the local node_modules folder.
In global mode (ie, with -g or --global appended to the command), it installs the current package context (ie, the current working directory) as a global package.
By default, npm install will install all modules listed as dependencies. With the --production flag, npm will not install modules listed in devDependencies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question