You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using react-scripts: next => 5.0.0-next.47.
When running 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.
Describe the bug
I'm using
react-scripts: next => 5.0.0-next.47
.When running
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.
Environment
System:
OS: Windows 10 10.0.19043
CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
Binaries:
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
yarn build
Expected behavior
Succesful build of the application.
Actual behavior
Failed to compile, resulting in an empty build folder.
Reproducible demo
https://github.com/limebooth/bug-eslint-react-scripts
The text was updated successfully, but these errors were encountered: