Invalid version of babel-jest in jest-runtime
See original GitHub issueDo you want to request a feature or report a bug?
Bug
What is the current behavior?
Incompatible version of babel-jest
spcified in jest-runtime
.
npm i jest@22 -D
npm ERR! Darwin 15.6.0
npm ERR! argv "/PATH/node/v6.10.3/bin/npm" "install" "jest@22" "-D"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: babel-jest@^22.2.0
npm ERR! notarget Valid install targets:
npm ERR! notarget 22.1.0, 22.0.6, 22.0.4, etc
npm ERR! notarget It was specified as a dependency of 'jest-runtime'
If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can yarn install
and yarn test
.
What is the expected behavior?
Should install a valid version of babel-jest
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
N/a
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Jest testing ( using babel ) invalid token import - Stack Overflow
Jest testing ( using babel ) invalid token import ... I am using @babel/core and @babel/preset-env and babel-jest. package.json
Read more >babel-jest - Awesome JS
[jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505) ... [@jest/transform] Throw better error if an invalid return value if encountered ...
Read more >Code Transformation - Jest
Jest will cache the result of a transformation and attempt to invalidate that result based on a number of factors, such as the...
Read more >How I Fixed The Unexpected Token Error In Jest
Tagged with javascript, jest, testing, jsx. ... Jest, I'm testing my own little batch of code in my own self-preserved runtime environment.
Read more >ts-jest - npm
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript. Latest version: 29.0.3, ...
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 FreeTop 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
Top GitHub Comments
Really not sure what’s going on. Tried clearing npm cache, DNS cache, restarting Mac, restarting router, checking that I was hitting the same IP as my colleagues, made sure there was nothing in my hosts that could be messing with it, uninstalled and reinstalled npm. Today I am on the same network as people that it was working for and
npm info babel-jest
still shows the latest version as22.2.0
.I can now see
22.2.0
, but not22.2.1
. At least I can install jest now. 😃