react-fundamentals icon indicating copy to clipboard operation
react-fundamentals copied to clipboard

Missing Test Dependency - jest-watch-typeahead

Open Crazyloon opened this issue 3 years ago • 3 comments

Repro:

Create a clean folder. Clone this repo's main branch Run Setup Run Test

Expectation: tests run

Actual Result: image

Workaround: manually install jest-watch-typeahead 0.6.4 (or whichever latest version is compatible with CRA)

Potential Fix: add jest-watch-typeahead to the devDependencies in package.json

Crazyloon avatar Jul 03 '22 21:07 Crazyloon

Hi @Crazyloon, I was unable to reproduce this issue 😬

kentcdodds avatar Jul 05 '22 16:07 kentcdodds

Maybe you have something installed globally that I don't?

If there's additional info that may help, let me know. I searched jest-watch-typeahead on the discord, where someone else had the same error, so it's not completely isolated

Crazyloon avatar Jul 05 '22 17:07 Crazyloon

I also received this error. It looks like a compatibility issue with different versions of Node and react-scripts. Here is a related discussion on the create-react-app issues board - https://github.com/facebook/create-react-app/issues/11792.

lstuartfry avatar Aug 09 '22 14:08 lstuartfry

I think this has been resolved.

kentcdodds avatar Dec 29 '22 22:12 kentcdodds