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

ESLint 9 not supported by @lwc/eslint-plugin-lwc #619

Open
gdecaen-klint opened this issue Oct 4, 2024 · 0 comments
Open

ESLint 9 not supported by @lwc/eslint-plugin-lwc #619

gdecaen-klint opened this issue Oct 4, 2024 · 0 comments

Comments

@gdecaen-klint
Copy link

Summary

After the creation of a SFDX project, I have an error when I run "npm i" command

Steps To Reproduce:

  1. Create a new SFDX project
  2. Run npm i command on terminal

Expected result

NPM modules should be installed correctly

Actual result

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error dev eslint@"^9.9.1" from the root project
npm error peer eslint@"^7.5.0 || ^8.0.0 || ^9.0.0" from @babel/[email protected]
npm error node_modules/@babel/eslint-parser
npm error peer @babel/eslint-parser@"^7" from @lwc/[email protected]
npm error node_modules/@lwc/eslint-plugin-lwc
npm error dev @lwc/eslint-plugin-lwc@"^1.1.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^7 || ^8" from @lwc/[email protected]
npm error node_modules/@lwc/eslint-plugin-lwc
npm error dev @lwc/eslint-plugin-lwc@"^1.1.2" 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.

Additional information

VS Code Version: Version: 1.94.0 (user setup)

SFDX CLI Version: @salesforce/cli/2.60.13 win32-x64 node-v20.17.0

OS and version: Windows_NT x64 10.0.26100

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