Задать вопрос
@kleilike

Почему не ставится плагин для gulp?

Не получается установить плагин. Стоит node.js и gulp.js поставлен глобально. Другие плагины ставятся без проблем, в чем может быть проблема?

PS D:\test> npm install gulp-imagemin
npm WARN package.json landingParallax@0.0.0 No description
npm WARN package.json landingParallax@0.0.0 No repository field.
npm WARN package.json landingParallax@0.0.0 No README data
npm WARN engine imagemin@2.1.2: wanted: {"node":">=0.10.0","npm":">=2.1.5"} (current: {"node":"0.10.32","npm":"1.4.28"})

npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/kevva/stream-log) undefined
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/kevva/stream-log) undefined
npm ERR! git clone https://github.com/kevva/stream-log undefined
npm ERR! git clone https://github.com/kevva/stream-log undefined
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/kevva/stream-log) undefined
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/kevva/stream-log) undefined
npm ERR! git clone https://github.com/kevva/stream-log undefined
npm ERR! git clone https://github.com/kevva/stream-log undefined
npm WARN optional dep failed, continuing imagemin-gifsicle@3.1.0
npm WARN optional dep failed, continuing imagemin-pngquant@3.1.0
npm WARN unmet dependency D:\test\node_modules\gulp\node_modules\vinyl-fs\node_modules\vinyl requires lodash@'^2.4.1' bu
t will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\gulp\node_modules\vinyl-fs\node_modules\glob-stream\node_modules\glob2bas
e requires lodash@'^2.4.1' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\decompress-tar requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\decompress-tarbz2 requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\decompress-targz requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\decompress-unzip requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\vinyl-fs requires vinyl@'^0.4.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-build\node_mod
ules\download\node_modules\meow\node_modules\indent-string requires minimist@'^1.1.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\decompress-tar requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\decompress-tarbz2 requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\decompress-targz requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\decompress-unzip requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\vinyl-fs requires vinyl@'^0.4.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\vinyl-fs\node_modules\glob-watcher\node_modules\gaze\node_modules\globule requires lodash@'
~1.0.1' but will load
npm WARN unmet dependency D:\test\node_modules\imagemin-optipng\node_modules\optipng-bin\node_modules\bin-wrapper\node_m
odules\download\node_modules\vinyl-fs\node_modules\lodash,
npm WARN unmet dependency which is version 2.4.1
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-build\node_m
odules\download\node_modules\vinyl-fs\node_modules\glob-stream\node_modules\glob2base requires lodash@'^2.4.1' but will
load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\decompress-tar requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\decompress-tarbz2 requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\decompress-targz requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\decompress-unzip requires vinyl@'^0.4.3' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\vinyl-fs requires vinyl@'^0.4.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\meow\node_modules\indent-string requires minimist@'^1.1.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency D:\test\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\node_modules\bin-wrapper\node
_modules\download\node_modules\vinyl-fs\node_modules\glob-stream\node_modules\glob2base requires lodash@'^2.4.1' but wil
l load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
gulp-imagemin@1.2.1 node_modules\gulp-imagemin
├── object-assign@1.0.0
├── pretty-bytes@1.0.1 (get-stdin@1.0.0)
├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── through2-concurrent@0.3.0 (through2@0.6.3)
├── gulp-util@3.0.1 (lodash._reinterpolate@2.4.1, dateformat@1.0.8, minimist@1.1.0, lodash@2.4.1, vinyl@0.4.3, multipipe
@0.1.1, lodash.template@2.4.1, through2@0.6.3)
└── imagemin@2.1.2 (get-stdin@3.0.0, optional@0.1.0, stream-combiner@0.2.1, concat-stream@1.4.6, vinyl@0.4.3, meow@1.0.0
, vinyl-fs@0.3.10, imagemin-svgo@2.1.0, through2@0.6.3)
PS D:\test>
  • Вопрос задан
  • 3243 просмотра
Подписаться 2 Оценить Комментировать
Решения вопроса 1
@senselessV7
Попробуй обновить ноду!
npm cache clean -f
npm install -g npm
npm -v

и еще раз установить плагин
npm install --save-dev gulp-imagemin
Мне помогло, проблема та же была!
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы