babel-traverse: error on install (issue with @babel/parser)
See original GitHub issueEDIT 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:
- Created 5 years ago
- Reactions:8
- Comments:14 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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)
FWIW, it just started working for me, can everyone please try again?