Closed mhyrka closed 5 years ago
CRA comes with jest out of the box, you don't need to install it yourself. So just remove all mention of Jest in your package.json's devDependencies, and you should be good
CRA@3 comes with jest 24
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
After installing jest via
npm install --save-dev jest
,npm start
breaks with the following message:To Reproduce
Steps to reproduce the behavior: Here is my package.json.
As stated, I installed jest using
npm install --save-dev jest
. It looks like that created a duplicatebabel-jest
entry in my package-lock.json with conflicting versions.&&
I've gone through the steps detailed in the error message, but then I don't have jest anymore and its back to square one.
Expected behavior
Link to repl or repo (highly encouraged)
Please provide either a repl.it demo or a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run
npx envinfo --preset jest
Paste the results here: