Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Not compatible with eslint #3775

Closed
2 tasks done
ejgutierrez74 opened this issue Jun 27, 2024 · 4 comments
Closed
2 tasks done

[Bug]: Not compatible with eslint #3775

ejgutierrez74 opened this issue Jun 27, 2024 · 4 comments
Labels

Comments

@ejgutierrez74
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and my issue is unique
  • My issue appears in the command-line and not only in the text editor

Description Overview

I want to update my current react-app with npm update, im facing an error of compatibility....

eduardo@MiPcLinux:~/Descargas/workshop-react$ npm update
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   eslint@"^9.3.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
npm error node_modules/eslint-plugin-react
npm error   dev eslint-plugin-react@"^7.34.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/eduardo/.npm/_logs/2024-06-27T09_59_34_909Z-eresolve-report.txt

npm error A complete log of this run can be found in: /home/eduardo/.npm/_logs/2024-06-27T09_59_34_909Z-debug-0.log

Log file:


'Log files:
/home/eduardo/.npm/_logs/2024-06-27T09_59_34_909Z-debug-0.log

# npm resolution error report

While resolving: [email protected]
Found: [email protected]
node_modules/eslint
  eslint@"^9.3.0" from the root project

Could not resolve dependency:
peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
node_modules/eslint-plugin-react
  dev eslint-plugin-react@"^7.34.1" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Link to the project: https://github.com/ejgutierrez74/workshop-react-eduardo

npm update

Expected Behavior

update eslint and eslint-react-plugin to latest versions....

eslint-plugin-react version

7.34.1

eslint version

9.3.0

node version

20.12.2

@lorenz-maurer
Copy link

I'm in the same boat here.

npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.4.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-react
npm ERR!   dev eslint-plugin-react@"^7.34.3" from the root project

@ljharb
Copy link
Member

ljharb commented Jun 27, 2024

It's not a bug, we're just not compatible with v9 yet - which means you can't upgrade until we are, or until you stop using this plugin.

Duplicate of #3699.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
@ejgutierrez74
Copy link
Author

Sorry i didnt find the duplicate, is there any ETA or version release when eslint-react would be compatible with eslint 9 ? How is the work going ?

@ljharb
Copy link
Member

ljharb commented Jun 27, 2024

Follow #3759; there's no ETA or timeline yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants