Friday 2 June 2017

Running or updating gulp with node or npm issue

Trying to troubleshoot an issue, but not sure why out of the blue, I cannot install gulp locally. This is in any folder on my machine.

Here is what I get:

C:\source\portalTest>npm install gulp
npm ERR! code 128
npm ERR! Command failed: C:\app\cmder\vendor\git-for-windows\cmd\git.EXE clone --depth=1 -q -b 1681/head git://github.com/gulpjs/gulp.git C:\Users\Mark\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-3782b653 --config core.longpaths=true
npm ERR! warning: templates not found C:\Users\Mark\AppData\Local\Temp\pacote-git-template-tmp\git-clone-b45c0eb0
npm ERR! warning: Could not find remote branch 1681/head to clone.
npm ERR! fatal: Remote branch 1681/head not found in upstream origin
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mark\AppData\Roaming\npm-cache\_logs\2017-06-02T19_24_16_382Z-debug.log

Anyone know why this happened out of the blue and how to fix this? Have tried npm cache clean and anything else I could find on the internet.



via Mark

No comments:

Post a Comment