ESLint: Failed to load plugin 'react' declared in '.eslintrc.js
Answered
Eastern yellowjacket posted this in #help-forum
Eastern yellowjacketOP
Execing
next.js log
I have the same issue creating a new app by create-next-app.
next.js version:14.1.0
npm run lintnext.js log
Linting and checking validity of types . ⨯ ESLint: Failed to load plugin 'react' declared in '.eslintrc.js » eslint-config-next/core-web-vitals » /home/master/festival78-tickets/node_modules/eslint-config-next/index.js': Package subpath './core.json' is not defined by "exports" in /home/master/festival78-tickets/node_modules/is-core-module/package.json imported from /home/master/festival78-tickets/node_modules/is-core-module/index.js Referenced from: /home/master/festival78-tickets/node_modules/eslint-config-next/index.jsI have the same issue creating a new app by create-next-app.
next.js version:14.1.0
Answered by Eastern yellowjacket
yarn install&&yarn lint ok
bun i&&bun lint fail
npm i&&npm lint fail
bun i&&bun lint fail
npm i&&npm lint fail
1 Reply
Eastern yellowjacketOP
yarn install&&yarn lint ok
bun i&&bun lint fail
npm i&&npm lint fail
bun i&&bun lint fail
npm i&&npm lint fail
Answer