Answer the question
In order to leave comments, you need to log in
How to install gulp 4 on windows?
There is a "window" NodeJS, I'm trying to put gulp 4.0 on it: npm install gulpjs/gulp.git#4.0 --global
on which I get a bunch of errors:
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modu les\npm\node_modules\which\which.js:15:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:70:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\which.js:91:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit gulpjs/gulp#4.0 resetting remote C:\Users\User\AppData \Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-3014dfdc because of error: { [Error: not found: git] code: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror git://github.com/gulpjs/gulp.git C:\Users\User\AppD ata\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-3014dfdc: unde fined
npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror git://github.com/gulpjs/gulp.git C:\Users\User\AppD ata\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-3014dfdc: unde fined
npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modu les\npm\node_modules\which\which.js:15:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:70:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\which.js:91:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit gulpjs/gulp#4.0 resetting remote C:\Users\User\AppData \Roaming\npm-cache\_git-remotes\https-github-com-gulpjs-gulp-git-4e3bb526 becaus e of error: { [Error: not found: git] code: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror https://github.com/gulpjs/gulp.git C:\Users\User\Ap pData\Roaming\npm-cache\_git-remotes\https-github-com-gulpjs-gulp-git-4e3bb526: undefined
npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror https://github.com/gulpjs/gulp.git C:\Users\User\Ap pData\Roaming\npm-cache\_git-remotes\https-github-com-gulpjs-gulp-git-4e3bb526: undefined
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modu les\npm\node_modules\which\which.js:15:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:70:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\which.js:91:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul es\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit gulpjs/gulp#4.0 resetting remote C:\Users\User\AppData \Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-ed33b0aa because of error: { [Error: not found: git] code: 'ENOGIT' } npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror [email protected]:gulpjs/gulp.git C:\Users\User\AppDat a\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-ed33b0aa: undefi ned
npm ERR! git clone --template=C:\Users\User\AppData\Roaming\npm-cache\_git-re motes\_templates --mirror [email protected]:gulpjs/gulp.git C:\Users\User\AppDat a\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-ed33b0aa: undefi ned
npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
npm ERR! node v4.4.5 npm ERR! npm v2.15.5
npm ERR! code ENOGIT
npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request:
Answer the question
In order to leave comments, you need to log in
As an option that helped me... try installing like this
npm install gulp-4.0.build
this command was found here https://www.npmjs.com/package/gulp-4.0.build
after installation in the node_modules folder there will be a folder gulp- 4.0.build, just rename it to gulp
if that doesn't help, try adding it to path ./node_modules/.bin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question