S
S
Segey2016-07-24 22:27:55
gulp.js
Segey, 2016-07-24 22:27:55

Why does npm and gulp --save-dev give an error when installing?

Hello. Why when installing npm i gulp --save-dev gives an error. 7e56b34551154deab980c59a4fa39d4e.jpg?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Khristoev, 2016-07-25
@Segey

because node 6 version, try 5

R
Roman Ogarkov, 2016-07-24
@ogarich89

Uninstall and reinstall NodeJS LTS. Always use LTS. In package.json, the project name is not gulp, but for example gulp-my-project

S
Segey, 2016-07-25
@Segey

I reinstalled NodeJS LTS, only now it says that, as 7c4171b38cdc436cae2acd98c91c19cc.pngI understand it, this is not a complete installation, since in packade.json in "devDependencies": {}, it is empty, and there, as I understand it, there should be a version of the installed gulp, and in the folder with packade.json not installing node_modules. I immediately apologize if I ask elementary things, since I myself have only been studying for a month.25d4d9c8ecdc4a1298b7c5679acc2d8a.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question