P
P
Pavel2015-10-31 21:53:45
Node.js
Pavel, 2015-10-31 21:53:45

Can't deploy gulp, how to fix?

Yes, I have a batch file

{
  "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"
  }
}

but when you run npm i , it rolls a lot of errors, I even tried it on Linux, I don’t understand what the cant is
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'i' ]
2 info using [email protected]
3 info using [email protected]
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 [email protected]
7 verbose readDependencies using package.json deps
8 verbose cache add [ '[email protected]^3.9.0', null ]
9 verbose cache add name=undefined spec="[email protected]^3.9.0" args=["[email protected]^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: '[email protected]^3.9.0',
10 verbose parsed url   path: '[email protected]^3.9.0',
10 verbose parsed url   href: '[email protected]^3.9.0' }
11 verbose cache add [ '[email protected]^2.3.1', null ]
12 verbose cache add name=undefined spec="[email protected]^2.3.1" args=["[email protected]^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: '[email protected]^2.3.1',
13 verbose parsed url   path: '[email protected]^2.3.1',
13 verbose parsed url   href: '[email protected]^2.3.1' }
14 verbose cache add [ '[email protected]^2.2.0', null ]
15 verbose cache add name=undefined spec="[email protected]^2.2.0" args=["[email protected]^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: '[email protected]^2.2.0',
16 verbose parsed url   path: '[email protected]^2.2.0',
16 verbose parsed url   href: '[email protected]^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 [ '[email protected]^2.2.0', null ]
26 verbose cache add name=undefined spec="[email protected]^2.2.0" args=["[email protected]^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: '[email protected]^2.2.0',
27 verbose parsed url   path: '[email protected]^2.2.0',
27 verbose parsed url   href: '[email protected]^2.2.0' }
28 verbose cache add [ '[email protected]^3.0.6', null ]
29 verbose cache add name=undefined spec="[email protected]^3.0.6" args=["[email protected]^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: '[email protected]^3.0.6',
30 verbose parsed url   path: '[email protected]^3.0.6',
30 verbose parsed url   href: '[email protected]^3.0.6' }
31 verbose cache add [ '[email protected]^1.0.0', null ]
32 verbose cache add name=undefined spec="[email protected]^1.0.0" args=["[email protected]^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: '[email protected]^1.0.0',
33 verbose parsed url   path: '[email protected]^1.0.0',
33 verbose parsed url   href: '[email protected]^1.0.0' }
34 verbose cache add [ '[email protected]^0.13.7', null ]
35 verbose cache add name=undefined spec="[email protected]^0.13.7" args=["[email protected]^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: '[email protected]^0.13.7',
36 verbose parsed url   path: '[email protected]^0.13.7',
36 verbose parsed url   href: '[email protected]^0.13.7' }
37 verbose cache add [ '[email protected]^1.1.4', null ]
38 verbose cache add name=undefined spec="[email protected]^1.1.4" args=["[email protected]^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: '[email protected]^1.1.4',
39 verbose parsed url   path: '[email protected]^1.1.4',
39 verbose parsed url   href: '[email protected]^1.1.4' }
40 verbose cache add [ '[email protected]^2.3.0', null ]
41 verbose cache add name=undefined spec="[email protected]^2.3.0" args=["[email protected]^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,

the log file itself is 3500 lines... https://www.dropbox.com/s/uztvk3cpv2kdncc/npm-debu...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Radkov, 2015-10-31
@paulradzkov

On Makosi all modules are installed.
I have:
node v4.1.1
npm v3.3.6
Try updating them to the latest versions.

K
Khangeldy Ilebaev, 2016-03-06
@mahabatuly

npm cache clear could be

D
Dmitry Pacification, 2017-08-18
@dmitry_pacification

Have you installed all the packages that had to be installed globally?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question