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

Error installing with npm #5431

Closed
dajocarter opened this issue Oct 11, 2018 · 3 comments
Closed

Error installing with npm #5431

dajocarter opened this issue Oct 11, 2018 · 3 comments

Comments

@dajocarter
Copy link

Bug report

Describe the bug

Next does not install when I run npm install --save next. I get the following error

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @babel/parser@^7.1.3
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@babel/traverse'
npm ERR! notarget

Installing with yarn produces a similar problem

Couldn't find any versions for "@babel/parser" that matches "^7.1.3"
? Please choose a version of "@babel/parser" from this list: (Use arrow keys)
❯ 7.1.2
  7.1.1
  7.1.0
  7.0.0
  7.0.0-rc.4
  7.0.0-rc.3
  7.0.0-rc.2
  7.0.0-rc.1
  7.0.0-rc.0
  7.0.0-beta.56
  7.0.0-beta.55
  7.0.0-beta.54
  7.0.0-beta.53
  7.0.0-beta.52
  7.0.0-beta.51
  7.0.0-beta.50
  7.0.0-beta.49
  7.0.0-beta.48

To Reproduce

npm install --save next

System information

  • OS: macOS High Sierra
  • npm: 6.4.1
  • node: 8.11.3
@tusbar
Copy link
Contributor

tusbar commented Oct 11, 2018

@babel/parser@^7.1.3 was released about an hour ago.

You probably ran into some caching issues. Try again.

If it doesn’t fix it, maybe try npm cache clean.

@dajocarter
Copy link
Author

I just tried again and it worked.

Thanks! ✌️

@osasido
Copy link

osasido commented Apr 3, 2019

It's giving me the same issue as well I tried npm cache clean still not working

@lock lock bot locked as resolved and limited conversation to collaborators Apr 4, 2020
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

3 participants