mrusklon
@mrusklon
Не получается? Яростно гугли!

Не могу развернуть gulp, как исправить?

Есть значит у меня пакетный файл
{
  "name": "KLON_project",
  "private": true,
  "version": "0.1.0",
  "devDependencies": {
    "gulp": "^3.9.0",
    "gulp-autoprefixer": "^2.3.1",
    "gulp-concat-css": "^2.2.0",
    "gulp-connect": "^2.2.0",
    "gulp-csscomb": "^3.0.6",
    "gulp-csso": "^1.0.0",
    "gulp-file-include": "^0.13.7",
    "gulp-htmlmin": "^1.1.4",
    "gulp-imagemin": "^2.3.0",
    "gulp-livereload": "^3.8.0",
    "gulp-minify-css": "^1.2.1",
    "gulp-notify": "^2.2.0",
    "gulp-rename": "^1.2.2",
    "gulp-sass": "^2.0.4",
    "gulp-uglify": "^1.4.0",
    "gulp-uncss": "^1.0.3",
    "gulp.spritesmith": "^4.0.0",
    "imagemin-pngquant": "^4.2.0"
  }
}

но при запуске npm i , прокатывает куча ошибок , пробовал даже на линуксе , не пойму в чем косяк
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'i' ]
2 info using npm@1.4.21
3 info using node@v0.10.25
4 verbose readDependencies using package.json deps
5 verbose install where, deps [ '/home/klon/project/31.10.15',
5 verbose install   [ 'gulp',
5 verbose install     'gulp-autoprefixer',
5 verbose install     'gulp-concat-css',
5 verbose install     'gulp-connect',
5 verbose install     'gulp-csscomb',
5 verbose install     'gulp-csso',
5 verbose install     'gulp-file-include',
5 verbose install     'gulp-htmlmin',
5 verbose install     'gulp-imagemin',
5 verbose install     'gulp-livereload',
5 verbose install     'gulp-minify-css',
5 verbose install     'gulp-notify',
5 verbose install     'gulp-rename',
5 verbose install     'gulp-sass',
5 verbose install     'gulp-uglify',
5 verbose install     'gulp-uncss',
5 verbose install     'gulp.spritesmith',
5 verbose install     'imagemin-pngquant' ] ]
6 info preinstall KLON_project@0.1.0
7 verbose readDependencies using package.json deps
8 verbose cache add [ 'gulp@^3.9.0', null ]
9 verbose cache add name=undefined spec="gulp@^3.9.0" args=["gulp@^3.9.0",null]
10 verbose parsed url { protocol: null,
10 verbose parsed url   slashes: null,
10 verbose parsed url   auth: null,
10 verbose parsed url   host: null,
10 verbose parsed url   port: null,
10 verbose parsed url   hostname: null,
10 verbose parsed url   hash: null,
10 verbose parsed url   search: null,
10 verbose parsed url   query: null,
10 verbose parsed url   pathname: 'gulp@^3.9.0',
10 verbose parsed url   path: 'gulp@^3.9.0',
10 verbose parsed url   href: 'gulp@^3.9.0' }
11 verbose cache add [ 'gulp-autoprefixer@^2.3.1', null ]
12 verbose cache add name=undefined spec="gulp-autoprefixer@^2.3.1" args=["gulp-autoprefixer@^2.3.1",null]
13 verbose parsed url { protocol: null,
13 verbose parsed url   slashes: null,
13 verbose parsed url   auth: null,
13 verbose parsed url   host: null,
13 verbose parsed url   port: null,
13 verbose parsed url   hostname: null,
13 verbose parsed url   hash: null,
13 verbose parsed url   search: null,
13 verbose parsed url   query: null,
13 verbose parsed url   pathname: 'gulp-autoprefixer@^2.3.1',
13 verbose parsed url   path: 'gulp-autoprefixer@^2.3.1',
13 verbose parsed url   href: 'gulp-autoprefixer@^2.3.1' }
14 verbose cache add [ 'gulp-concat-css@^2.2.0', null ]
15 verbose cache add name=undefined spec="gulp-concat-css@^2.2.0" args=["gulp-concat-css@^2.2.0",null]
16 verbose parsed url { protocol: null,
16 verbose parsed url   slashes: null,
16 verbose parsed url   auth: null,
16 verbose parsed url   host: null,
16 verbose parsed url   port: null,
16 verbose parsed url   hostname: null,
16 verbose parsed url   hash: null,
16 verbose parsed url   search: null,
16 verbose parsed url   query: null,
16 verbose parsed url   pathname: 'gulp-concat-css@^2.2.0',
16 verbose parsed url   path: 'gulp-concat-css@^2.2.0',
16 verbose parsed url   href: 'gulp-concat-css@^2.2.0' }
17 verbose cache add name="gulp" spec="^3.9.0" args=["gulp","^3.9.0"]
18 verbose parsed url { protocol: null,
18 verbose parsed url   slashes: null,
18 verbose parsed url   auth: null,
18 verbose parsed url   host: null,
18 verbose parsed url   port: null,
18 verbose parsed url   hostname: null,
18 verbose parsed url   hash: null,
18 verbose parsed url   search: null,
18 verbose parsed url   query: null,
18 verbose parsed url   pathname: '^3.9.0',
18 verbose parsed url   path: '^3.9.0',
18 verbose parsed url   href: '^3.9.0' }
19 verbose addNamed [ 'gulp', '^3.9.0' ]
20 verbose addNamed [ null, '>=3.9.0-0 <4.0.0-0' ]
21 verbose cache add name="gulp-autoprefixer" spec="^2.3.1" args=["gulp-autoprefixer","^2.3.1"]
22 verbose parsed url { protocol: null,
22 verbose parsed url   slashes: null,
22 verbose parsed url   auth: null,
22 verbose parsed url   host: null,
22 verbose parsed url   port: null,
22 verbose parsed url   hostname: null,
22 verbose parsed url   hash: null,
22 verbose parsed url   search: null,
22 verbose parsed url   query: null,
22 verbose parsed url   pathname: '^2.3.1',
22 verbose parsed url   path: '^2.3.1',
22 verbose parsed url   href: '^2.3.1' }
23 verbose addNamed [ 'gulp-autoprefixer', '^2.3.1' ]
24 verbose addNamed [ null, '>=2.3.1-0 <3.0.0-0' ]
25 verbose cache add [ 'gulp-connect@^2.2.0', null ]
26 verbose cache add name=undefined spec="gulp-connect@^2.2.0" args=["gulp-connect@^2.2.0",null]
27 verbose parsed url { protocol: null,
27 verbose parsed url   slashes: null,
27 verbose parsed url   auth: null,
27 verbose parsed url   host: null,
27 verbose parsed url   port: null,
27 verbose parsed url   hostname: null,
27 verbose parsed url   hash: null,
27 verbose parsed url   search: null,
27 verbose parsed url   query: null,
27 verbose parsed url   pathname: 'gulp-connect@^2.2.0',
27 verbose parsed url   path: 'gulp-connect@^2.2.0',
27 verbose parsed url   href: 'gulp-connect@^2.2.0' }
28 verbose cache add [ 'gulp-csscomb@^3.0.6', null ]
29 verbose cache add name=undefined spec="gulp-csscomb@^3.0.6" args=["gulp-csscomb@^3.0.6",null]
30 verbose parsed url { protocol: null,
30 verbose parsed url   slashes: null,
30 verbose parsed url   auth: null,
30 verbose parsed url   host: null,
30 verbose parsed url   port: null,
30 verbose parsed url   hostname: null,
30 verbose parsed url   hash: null,
30 verbose parsed url   search: null,
30 verbose parsed url   query: null,
30 verbose parsed url   pathname: 'gulp-csscomb@^3.0.6',
30 verbose parsed url   path: 'gulp-csscomb@^3.0.6',
30 verbose parsed url   href: 'gulp-csscomb@^3.0.6' }
31 verbose cache add [ 'gulp-csso@^1.0.0', null ]
32 verbose cache add name=undefined spec="gulp-csso@^1.0.0" args=["gulp-csso@^1.0.0",null]
33 verbose parsed url { protocol: null,
33 verbose parsed url   slashes: null,
33 verbose parsed url   auth: null,
33 verbose parsed url   host: null,
33 verbose parsed url   port: null,
33 verbose parsed url   hostname: null,
33 verbose parsed url   hash: null,
33 verbose parsed url   search: null,
33 verbose parsed url   query: null,
33 verbose parsed url   pathname: 'gulp-csso@^1.0.0',
33 verbose parsed url   path: 'gulp-csso@^1.0.0',
33 verbose parsed url   href: 'gulp-csso@^1.0.0' }
34 verbose cache add [ 'gulp-file-include@^0.13.7', null ]
35 verbose cache add name=undefined spec="gulp-file-include@^0.13.7" args=["gulp-file-include@^0.13.7",null]
36 verbose parsed url { protocol: null,
36 verbose parsed url   slashes: null,
36 verbose parsed url   auth: null,
36 verbose parsed url   host: null,
36 verbose parsed url   port: null,
36 verbose parsed url   hostname: null,
36 verbose parsed url   hash: null,
36 verbose parsed url   search: null,
36 verbose parsed url   query: null,
36 verbose parsed url   pathname: 'gulp-file-include@^0.13.7',
36 verbose parsed url   path: 'gulp-file-include@^0.13.7',
36 verbose parsed url   href: 'gulp-file-include@^0.13.7' }
37 verbose cache add [ 'gulp-htmlmin@^1.1.4', null ]
38 verbose cache add name=undefined spec="gulp-htmlmin@^1.1.4" args=["gulp-htmlmin@^1.1.4",null]
39 verbose parsed url { protocol: null,
39 verbose parsed url   slashes: null,
39 verbose parsed url   auth: null,
39 verbose parsed url   host: null,
39 verbose parsed url   port: null,
39 verbose parsed url   hostname: null,
39 verbose parsed url   hash: null,
39 verbose parsed url   search: null,
39 verbose parsed url   query: null,
39 verbose parsed url   pathname: 'gulp-htmlmin@^1.1.4',
39 verbose parsed url   path: 'gulp-htmlmin@^1.1.4',
39 verbose parsed url   href: 'gulp-htmlmin@^1.1.4' }
40 verbose cache add [ 'gulp-imagemin@^2.3.0', null ]
41 verbose cache add name=undefined spec="gulp-imagemin@^2.3.0" args=["gulp-imagemin@^2.3.0",null]
42 verbose parsed url { protocol: null,
42 verbose parsed url   slashes: null,
42 verbose parsed url   auth: null,
42 verbose parsed url   host: null,
42 verbose parsed url   port: null,
42 verbose parsed url   hostname: null,
42 verbose parsed url   hash: null,


сам лог файл 3500 строк... https://www.dropbox.com/s/uztvk3cpv2kdncc/npm-debu...
  • Вопрос задан
  • 806 просмотров
Пригласить эксперта
Ответы на вопрос 3
paulradzkov
@paulradzkov
Дизайнер, верстальщик, начальник отдела UI
На Макоси все модули установились.
У меня:
node v4.1.1
npm v3.3.6

Попробуйте обновить их до последних версий.
Ответ написан
mahabatuly
@mahabatuly
Frontend-бағдарламашы
npm cache clear может быть
Ответ написан
Комментировать
@dmitry_pacification
Трудности рождают прорыв
А Вы все пакеты которые надо было ставить глобально, поставили глобально?
Ответ написан
Комментировать
Ваш ответ на вопрос

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

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