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

Versions incompatible issue with eslint(9.9.1) & eslint-plugin-promise(7.1.0) #427

Open
GOPIKRISHNA11596 opened this issue Aug 28, 2024 · 0 comments

Comments

@GOPIKRISHNA11596
Copy link

GOPIKRISHNA11596 commented Aug 28, 2024

Issue Description

  • In my project, we are using "eslint", "eslint-config-standard", "eslint-plugin-promise" npm packages. When we update the eslint to latest version 9.9.1, we are getting below error,

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: @ibm-app-connect/[email protected] npm ERR! Found: [email protected] npm ERR! node_modules/eslint npm ERR! dev eslint@"^9.9.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint@"^8.0.1" from [email protected] npm ERR! node_modules/eslint-config-standard npm ERR! dev eslint-config-standard@"^17.1.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

  • Same is happening for eslint-plugin-promise for version 7.1.0,

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: @ibm-app-connect/[email protected] npm ERR! Found: [email protected] npm ERR! node_modules/eslint-plugin-promise npm ERR! dev eslint-plugin-promise@"^7.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint-plugin-promise@"^6.0.0" from [email protected] npm ERR! node_modules/eslint-config-standard npm ERR! dev eslint-config-standard@"^17.1.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

  • eslint-config-standard is not compatible with latest the versions of eslint & eslint-plugin-promise. I have done some analysyis and added screenshot. Even the latest version of eslint-config-standard is pointing to old versions of eslint & eslint-plugin-promise. Please help us on this.
image
@GOPIKRISHNA11596 GOPIKRISHNA11596 changed the title Versions incompatible issue with eslint & eslint-plugin-promise Versions incompatible issue with eslint(9.9.1) & eslint-plugin-promise(7.1.0,) Aug 28, 2024
@GOPIKRISHNA11596 GOPIKRISHNA11596 changed the title Versions incompatible issue with eslint(9.9.1) & eslint-plugin-promise(7.1.0,) Versions incompatible issue with eslint(9.9.1) & eslint-plugin-promise(7.1.0) Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant