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

npm warn ERESOLVE overriding peer dependency @typescript-eslint/eslint-plugin v7 #144

Open
EvgenyOrekhov opened this issue Jul 12, 2024 · 3 comments

Comments

@EvgenyOrekhov
Copy link

I get these warnings from npm when I try to install eslint-plugin-sonar 0.14.1 and @typescript-eslint/eslint-plugin 7.16.0

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @typescript-eslint/[email protected]
npm warn Found: @typescript-eslint/[email protected]
npm warn node_modules/@typescript-eslint/parser
npm warn   @typescript-eslint/parser@"^7.16.0" from the root project
npm warn   5 more (@shopify/eslint-plugin, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/[email protected]
npm warn node_modules/eslint-plugin-sonar/node_modules/@typescript-eslint/eslint-plugin
npm warn   @typescript-eslint/eslint-plugin@"^6.16.0" from [email protected]
npm warn   node_modules/eslint-plugin-sonar
npm warn
npm warn Conflicting peer dependency: @typescript-eslint/[email protected]
npm warn node_modules/@typescript-eslint/parser
npm warn   peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/[email protected]
npm warn   node_modules/eslint-plugin-sonar/node_modules/@typescript-eslint/eslint-plugin
npm warn     @typescript-eslint/eslint-plugin@"^6.16.0" from [email protected]
npm warn     node_modules/eslint-plugin-sonar

Those are just warnings, so npm install actually succeeds. Still would be good to fix the warnings.

Node.js version: v20.15.1
npm version: 10.7.0

@manuel-rw
Copy link

Same happens with @typescript-eslint/[email protected]

@smashercosmo
Copy link

@JounQin can we help somehow to move this forward?

@manuel-rw
Copy link

Related with #147. This is blocking our dependency updates. I tried to upgrade the package in this library on a local cloned repo but there seem to be some breaking changes or I'm doing something wrong.

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

No branches or pull requests

3 participants