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

ERESOLVE when running npm i #20

Closed
jespertheend opened this issue May 27, 2021 · 0 comments
Closed

ERESOLVE when running npm i #20

jespertheend opened this issue May 27, 2021 · 0 comments

Comments

@jespertheend
Copy link

When I run npm i I get an ERESOLVE

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^4.17.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">=5" from [email protected]
npm ERR! node_modules/eslint-config-developit
npm ERR!   dev eslint-config-developit@"^1.1.1" 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.

It seems eslint-config-developit expects eslint >= 5

As a workaround you can remove the ^ from the package.json to force [email protected]

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