Describe the bug
react-scripts: next => 5.0.0-next.47.
yarn build, I get the following error:
Failed to load plugin 'flowtype' declared in 'package.json » eslint-config-react-app': Package subpath './lib/rules/no-unused-expressions' is not defined by "exports"
Did you try recovering your dependencies?
I tried reinstalling dependencies multiple times. Only since upgrading to
eslint 8.0.0 I receive this error.
Which terms did you search for in User Guide?
eslint and flowtype.
OS: Windows 10 10.0.19043
CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 94.0.4606.81 Edge: Spartan (44.19041.1023.0), Chromium (94.0.992.38) Internet Explorer: 11.0.19041.1202 npmPackages: react: 17.0.2 react-dom: 17.0.2 react-scripts: next => 5.0.0-next.47 npmGlobalPackages: create-react-app: Not Found
Steps to reproduce
- Update eslint to 8.0.0
Succesful build of the application.
Failed to compile, resulting in an empty build folder.