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 & eslint-plugin-promise #1143

Closed
GOPIKRISHNA11596 opened this issue Aug 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working

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/loopback-connector-snowflake@1.0.11 npm ERR! Found: eslint@9.9.1 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 eslint-config-standard@17.1.0 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/loopback-connector-snowflake@1.0.11 npm ERR! Found: eslint-plugin-promise@7.1.0 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 eslint-config-standard@17.1.0 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 added the bug Something isn't working label Aug 28, 2024
@markdumay
Copy link
Collaborator

The version issue is related to eslint-config-standard, which is not compatible with eslint v9. It seems https://github.com/standard/eslint-config-standard is no longer maintained, see standard/eslint-config-standard#410 (comment). I'll check if Hinode can transition to its spiritual successor https://github.com/neostandard/neostandard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@GOPIKRISHNA11596 @markdumay and others