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: Cannot be installed alongside recent versions of svelte-eslint-parser #153

Closed
2 tasks done
Stadly opened this issue Jun 5, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@Stadly
Copy link

Stadly commented Jun 5, 2024

Describe the bug

When I install eslint-plugin-perfectionist, I get the following error, since I have a version of svelte-eslint-parser that is newer than 0.33.1. I don't expect there to be any incompatibilities, but it seems the peer-dependency settings of eslint-plugin-perfectionist prevents installation alongside recent versions of svelte-eslint-parser.

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/svelte-eslint-parser
npm error   svelte-eslint-parser@">=0.34.0 <1.0.0" from [email protected]
npm error   node_modules/eslint-plugin-svelte
npm error     dev eslint-plugin-svelte@"^2.37.0" from the root project
npm error
npm error Could not resolve dependency:
npm error dev eslint-plugin-perfectionist@"*" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/svelte-eslint-parser
npm error   peerOptional svelte-eslint-parser@"^0.33.0" from [email protected]
npm error   node_modules/eslint-plugin-perfectionist
npm error     dev eslint-plugin-perfectionist@"*" 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 /root/.npm/_logs/2024-06-05T09_29_20_646Z-eresolve-report.txt

npm error A complete log of this run can be found in: /root/.npm/_logs/2024-06-05T09_29_20_646Z-debug-0.log

Code example

npm install --save-dev eslint-plugin-perfectionist

ESLint version

v8.57.0

ESLint Plugin Perfectionist version

v2.10.0

Additional comments

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@Stadly Stadly added the bug Something isn't working label Jun 5, 2024
@azat-io
Copy link
Owner

azat-io commented Jun 12, 2024

Looks like problem was fixed in #149

@azat-io azat-io closed this as completed Jun 12, 2024
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

2 participants