Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Invalid Version: https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz #1972

Closed
s-a opened this issue Jun 13, 2017 · 6 comments
Closed

Comments

@s-a
Copy link

s-a commented Jun 13, 2017

node -v
v8.0.0

I get this message after upgrading node.

@phated
Copy link
Member

phated commented Jun 13, 2017

Use the search.

@phated phated closed this as completed Jun 13, 2017
@gms1
Copy link

gms1 commented Jun 16, 2017

Sometimes a successful search is prevented by premature locking issues

I stumbled upon the same issue on a clean travis build:
https://travis-ci.org/gms1/node-async-context/builds/241440316
and in my case removing the package-lock.json did the trick

@dperezmavro
Copy link

@phated you could actually be more helpful and link to the solution, if you know where it is.

@dperezmavro
Copy link

What I did to resolve the issue is combine @gms1 's solution with the one found in issue #1967. To sum up,

  1. Run npm rebuild node-sass
  2. Remove node_modules and package-lock.json
  3. Run npm install

And then my gulp built worked. I'm on node 8.1.0 and npm 5.0.4.

@teliapp
Copy link

teliapp commented Jul 11, 2017

It's said to be a problem of newest npm being broken.

Installing gulp locally in the current directory solves it for me.
Go into the directory of your project.
sudo npm install gulp
no -g tag.

If you are working on multiple projects, oh well... try the solution at #1967

@mojoaxel
Copy link

duplicate of #1967

@gulpjs gulpjs deleted a comment from Kimtn129 Nov 21, 2017
@gulpjs gulpjs locked and limited conversation to collaborators Nov 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants