Open
Description
Describe the bug
react-scripts test
command stopped working after update to ^4.0.3 from ^3.0.0.
It shows this error on terminal:
● Validation Error:
Watch plugin jest-watch-typeahead/filename cannot be found. Make sure the watchPlugins configuration option points to an existing node module.
Configuration Documentation:
https://jestjs.io/docs/configuration.html
error Command failed with exit code 1.
Nothing has changed on the code. Only react-scripts package. Tests were working fine before the update.
The project is not ejected and it is not intended to be.
Did you try recovering your dependencies?
Yes, I tried.
yarn version: 1.22.10
Which terms did you search for in User Guide?
I've search for 'react-scripts test' and 'watchPlugins' and all I found is that I need to eject the project. I don't understand why. It was never like that. So I think that is not the solution to the problem.
Steps to reproduce
- Open a terminal on the CRA project root
- Run
yarn
- Run
yarn test
Expected behavior
I expect tests run fine. Like before updating to ^4.0.3.
Actual behavior
react-scripts test
command stops working after update react-scripts library to ^4.0.3 from ^3.0.0.
It shows this error on terminal:
● Validation Error:
Watch plugin jest-watch-typeahead/filename cannot be found. Make sure the watchPlugins configuration option points to an existing node module.
Configuration Documentation:
https://jestjs.io/docs/configuration.html
error Command failed with exit code 1.
Thank you :D