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

Unable to Install Package with ESLint v8.x as a Peer Dependency #13

Open
dhurlburtusa opened this issue Dec 22, 2021 · 0 comments
Open

Comments

@dhurlburtusa
Copy link

I have a project which is using ESLint v8.x (the latest major version; released earlier this year). I am unable (without --force) to install eslint-plugin-prettierx because the ESLint peer dependency of this package is declared to be ^7.0.0.

If you are okay with an open-ended range, then I'd recommend using >=7.0 instead of a caret-range which won't include other major versions. Of course there is the problem when a major version comes along that isn't compatible.

Note: As a temporary work-around, you can use the --force option with the npm command:

npm install --save-dev --force eslint-plugin-prettierx
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

1 participant