Answer the question
In order to leave comments, you need to log in
How to install Gulp4?
How to install Gulp4?
$ npm rm -g gulp (removed global gulp)
$ npm install -g gulp-cli (installed global cli)
$ gulp -v
CLI version 2.0.1
$ npm uninstall gulp --save-dev
$ npm install 'gulpjs/gulp. git#4.0' --save-dev
After this
PS message D:\Site layout\_start_project\starting template gulp4> npm uninstall gulp --save-dev
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents)
: "} (current: {"os":
removed 90 packages in 12.234s
PS D:\Site layout\_start_project\starting template gulp4> npm install 'gulpjs/gulp.git#4.0' --save-dev
npm ERR! code 1
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git.
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\newdecline\AppData\Roaming\npm-cache\_logs\2018-10-22T06_42_29_374Z-debug.log
PS D:\Site layout\_start_project\starting template gulp4> gulp -v
[11:42:45] CLI version 2.0.1
PS D:\Site layout\_start_project\starting template gulp4>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question