You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to upgrade eslint-plugin-jest to its latest version, 25.2.2, which is a major version bump from the previous version, is failing to install on npm install.
We get the following error message
Found: @typescript-eslint/parser@4.29.1
node_modules/@typescript-eslint/parser
@typescript-eslint/parser@"^4.20.0" from eslint-config-next@11.1.2
node_modules/eslint-config-next
dev eslint-config-next@"^11.1.2" from the root project
Could not resolve dependency:
dev eslint-plugin-jest@"^25.2.2" from the root project
Conflicting peer dependency: @typescript-eslint/parser@5.1.0
node_modules/@typescript-eslint/parser
peer @typescript-eslint/parser@"^5.0.0" from @typescript-eslint/eslint-plugin@5.1.0
node_modules/@typescript-eslint/eslint-plugin
peerOptional @typescript-eslint/eslint-plugin@"^4.0.0 || ^5.0.0" from eslint-plugin-jest@25.2.2
node_modules/eslint-plugin-jest
dev eslint-plugin-jest@"^25.2.2" from the root project
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 27, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIssue was opened via the bug report template.LintingRelated to `next lint` or ESLint with Next.js.
What version of Next.js are you using?
11.1.2
What version of Node.js are you using?
16.10.0
What browser are you using?
Chrome
What operating system are you using?
MacOS 11.6
How are you deploying your application?
Other platform
Describe the Bug
Attempting to upgrade
eslint-plugin-jest
to its latest version,25.2.2
, which is a major version bump from the previous version, is failing to install onnpm install
.We get the following error message
It seems that
eslint-config-next
needs to be updated to point to a5.x
version of@typescript-eslint/parser
Expected Behavior
npm install
succeeds without a dependency clashTo Reproduce
Attempt to upgrade to
eslint-plugin-jest@^25.2.2
The text was updated successfully, but these errors were encountered: