question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

babel-traverse: error on install (issue with @babel/parser)

See original GitHub issue

EDIT 2: seems to have been resolved now

## EDIT (by @hzoo): Suggested workaround by @nikolas is to pin the version to the last available version (7.1.2) until the issue is resolved on the npm side. Also if you are on a proxy/cache check that it’s up-to-date.

{
  "devDependencies": {
    "@babel/parser": "7.1.2"
  }
}

Hi, I’m getting this error when trying to install @babel/traverse. I’m on 10.12.0, npm 6.4.1 on Debian Linux.

$ npm i --save-dev @babel/traverse                                                                                                                           
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                                                                                                                                                                            
                                                                                                                                                                                             
npm ERR! A complete log of this run can be found in:                                                                                                                                         
npm ERR!     /home/nik/.npm/_logs/2018-10-11T16_20_54_846Z-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

21reactions
hzoocommented, Oct 11, 2018

Ok great, getting reports from people that it’s working now 🙌: https://twitter.com/someonedodgy/status/1050426362253778944 so please try again! Sorry for the issues but it seems like that wasn’t really something in our control. Will try to followup to see if there’s something we should do in the future. (I know we don’t need to remind everyone again, but we’re all volunteers too)

3reactions
existentialismcommented, Oct 11, 2018

FWIW, it just started working for me, can everyone please try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No matching version found for @babel/traverse@^7.14.0
This happens because of that version was published yesterday on NPM registry but ur companies registry is not up to date.
Read more >
babel/parser
errorRecovery: By default, Babel always throws an error when it finds some invalid code. When this option is set to true , it...
Read more >
@babel/traverse - npm
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes. See our website @babel/traverse ......
Read more >
Babel issue running npm run dev after upgrade to Mix
I have an old Laravel App which I updated to Laravel 5.8. I removed all old resources files, package-lock.json, yarn.lock and gulp files....
Read more >
@babel/core - NPM Package Overview - Socket
Babel compiler core. Version: 7.20.5 was published by nicolo-ribaudo. Start using Socket to analyze @babel/core and its 15 dependencies to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found