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

[@nx/eslint-plugin] Incompatibility with @typescript-eslint/eslint-plugin and @typescript-eslint/parser 6.x #20026

Closed
2 of 4 tasks
throrin19 opened this issue Nov 3, 2023 · 2 comments

Comments

@throrin19
Copy link

Current Behavior

Actually, I can't upgrade @typescript-eslint/eslint-plugin and @typescript-eslint/parser from version 5.62.0 to version 6.9.1

When I try to do that, I have this error :

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nx/eslint-plugin@17.0.2
npm ERR! Found: @typescript-eslint/parser@6.9.1
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"6.9.1" from the root project
npm ERR!   peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/eslint-plugin@6.9.1
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"6.9.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/parser@"^5.60.1" from @nx/eslint-plugin@17.0.2
npm ERR! node_modules/@nx/eslint-plugin
npm ERR!   dev @nx/eslint-plugin@"17.0.2" from the root project
npm ERR!   @nx/eslint-plugin@"17.0.2" from @nrwl/eslint-plugin-nx@17.0.2
npm ERR!   node_modules/@nrwl/eslint-plugin-nx
npm ERR!     @nrwl/eslint-plugin-nx@"17.0.2" from @nx/eslint-plugin@17.0.2
npm ERR! 
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@5.62.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^5.60.1" from @nx/eslint-plugin@17.0.2
npm ERR!   node_modules/@nx/eslint-plugin
npm ERR!     dev @nx/eslint-plugin@"17.0.2" from the root project
npm ERR!     @nx/eslint-plugin@"17.0.2" from @nrwl/eslint-plugin-nx@17.0.2
npm ERR!     node_modules/@nrwl/eslint-plugin-nx
npm ERR!       @nrwl/eslint-plugin-nx@"17.0.2" from @nx/eslint-plugin@17.0.2
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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /builds/renovate/renovate-config/renovate/cache/others/npm/_logs/2023-11-02T17_07_07_054Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /builds/renovate/renovate-config/renovate/cache/others/npm/_logs/2023-11-02T17_07_07_054Z-debug-0.log

Expected Behavior

I can upgrade @typescript-eslint/eslint-plugin and @typescript-eslint/parser

GitHub Repo

No response

Steps to Reproduce

Nx Report

Node   : 18.18.2
   OS     : darwin-x64
   npm    : 9.8.1
   
   nx                 : 17.0.2
   @nx/js             : 17.0.2
   @nx/jest           : 17.0.2
   @nx/linter         : 17.0.2
   @nx/eslint         : 17.0.2
   @nx/workspace      : 17.0.2
   @nx/devkit         : 17.0.2
   @nx/eslint-plugin  : 17.0.2
   @nx/node           : 17.0.2
   @nx/plugin         : 17.0.2
   @nrwl/tao          : 17.0.2
   typescript         : 5.2.2
   ---------------------------------------
   Local workspace plugins:
         local-plugins

Failure Logs

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nx/eslint-plugin@17.0.2
npm ERR! Found: @typescript-eslint/parser@6.9.1
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"6.9.1" from the root project
npm ERR!   peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/eslint-plugin@6.9.1
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"6.9.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/parser@"^5.60.1" from @nx/eslint-plugin@17.0.2
npm ERR! node_modules/@nx/eslint-plugin
npm ERR!   dev @nx/eslint-plugin@"17.0.2" from the root project
npm ERR!   @nx/eslint-plugin@"17.0.2" from @nrwl/eslint-plugin-nx@17.0.2
npm ERR!   node_modules/@nrwl/eslint-plugin-nx
npm ERR!     @nrwl/eslint-plugin-nx@"17.0.2" from @nx/eslint-plugin@17.0.2
npm ERR! 
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@5.62.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^5.60.1" from @nx/eslint-plugin@17.0.2
npm ERR!   node_modules/@nx/eslint-plugin
npm ERR!     dev @nx/eslint-plugin@"17.0.2" from the root project
npm ERR!     @nx/eslint-plugin@"17.0.2" from @nrwl/eslint-plugin-nx@17.0.2
npm ERR!     node_modules/@nrwl/eslint-plugin-nx
npm ERR!       @nrwl/eslint-plugin-nx@"17.0.2" from @nx/eslint-plugin@17.0.2
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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /builds/renovate/renovate-config/renovate/cache/others/npm/_logs/2023-11-02T17_07_07_054Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /builds/renovate/renovate-config/renovate/cache/others/npm/_logs/2023-11-02T17_07_07_054Z-debug-0.log

Package Manager Version

NPM 9.8.1

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder
Copy link
Member

Closing as a duplicate of #18641 - it'll be released soon™️

Copy link

github-actions bot commented Dec 4, 2023

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants