Answer the question
In order to leave comments, you need to log in
Why is gulp not installed?
Installed node
Checked
node
and
npm
installed _ according to the instructions .. as far as I remember, he should pull the GET files .......
But he writes to me: joxi.ru/D2PQZJKudz8G4A
then he created the file, I enter gulp and he writes to me: joxi.ru/vAWZxbXSkQLJ42
What is the problem?
Answer the question
In order to leave comments, you need to log in
In your case, gulp is not a standalone program, but just a module that will be included in this folder when tasks are performed.
Before installing any modules to the node, you need to run the command in the right folder
. The result will be the package.json file
{
"name": "gulp-learn",
"version": "1.0.0",
"description": "Изучаем gulp",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"gulp": "^3.9.1" #Здесь уже установлен gulp
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "никто",
"license": "ISC"
}
I may not have understood anything at all. But you also have a gulpfile there, and the default task from gulpfile started and ended successfully. So gulp is installed.
What did you expect to see?
I can't install gulp, I get an error, what's the problem?:
C:\Users\Yuri>npm install gulp -g
npm ERR! C:\Users\Yuri\AppData\Roaming\npm-cache\_cacache is not a legal HTTP he
ader value
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Yuri\AppData\Roaming\npm-cache\_logs\2017-08-03T19_03_36_4
01Z-debug.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question