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: fails for "@typescript-eslint/eslint-plugin:~5.3.0" #68

Closed
3 tasks done
pranav-js opened this issue Dec 28, 2021 · 2 comments
Closed
3 tasks done

bug: fails for "@typescript-eslint/eslint-plugin:~5.3.0" #68

pranav-js opened this issue Dec 28, 2021 · 2 comments

Comments

@pranav-js
Copy link

Prerequisites

Stencil ESLint Version

latest

Current Behavior

╰─ npm i --save-dev @stencil/eslint-plugin
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: zwitch-frontend@2.0.0
npm ERR! Found: @typescript-eslint/eslint-plugin@5.3.1
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   dev @typescript-eslint/eslint-plugin@"~5.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/eslint-plugin@"<5 && ^4.0.0" from @stencil/eslint-plugin@0.4.0
npm ERR! node_modules/@stencil/eslint-plugin
npm ERR!   dev @stencil/eslint-plugin@"*" 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.
npm ERR!
npm ERR! See /Users/pranav.sarda/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pranav.sarda/.npm/_logs/2021-12-28T11_18_35_507Z-debug.log

Expected Behavior

should install without conflicitng peer dependencies.

Steps to Reproduce

I have a monorepo setup with nx and nxeext/stenciljs. Nx setup with 5.3.0 version of eslint hence causing conflict when trying to install this as -D

Code Reproduction URL

just try with fresh nx repo + stencil

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Dec 28, 2021
@pranav-js
Copy link
Author

fixed with npm i --save-dev @stencil/eslint-plugin --legacy-peer-deps for now

@raphaelpor
Copy link
Collaborator

Fixed with 0.5.0.

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

2 participants