Rana Umair
Rana Umair

Reputation: 21

Error during installation of gulp in node js

i am installing my package.json in node project. but it is showing errors on installation of gulp. in package.json gulp module is

and it throws this error

Upvotes: 1

Views: 252

Answers (1)

Changing your gulp dependency to:

"gulp": "4.0.0",

Should solve this issue.

Edited to add longer explanation: Take into account that, for Gulp version, you were referencing branch "4.0" of the Gulp project in GitHub. Such branch no longer exists, thus the error. My proposed solution is to use the same version (4.0.0), but from the NPM registry instead of from GitHub.

Upvotes: 1

Related Questions