Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Babel-Jest Issue #367

Open
shaungt1 opened this issue Mar 8, 2022 · 1 comment
Open

Babel-Jest Issue #367

shaungt1 opened this issue Mar 8, 2022 · 1 comment

Comments

@shaungt1
Copy link

shaungt1 commented Mar 8, 2022

The react-scripts package provided by Create React App requires a dependency:

"babel-jest": "^24.9.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-jest was detected higher up in the tree:

C:\Users\Frontside\node_modules\babel-jest (version: 27.4.6)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

I have run this sevral times and have repeated the same results

@florianjr
Copy link

I ran into this problem, too. Is there a clean way to fix this?

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

2 participants