create-react-library icon indicating copy to clipboard operation
create-react-library copied to clipboard

Babel-Jest Issue

Open shaungt1 opened this issue 3 years ago • 1 comments
trafficstars

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

shaungt1 avatar Mar 08 '22 18:03 shaungt1

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

florianjr avatar Dec 27 '22 11:12 florianjr