We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After the creation of a SFDX project, I have an error when I run "npm i" command
NPM modules should be installed correctly
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.
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
After the creation of a SFDX project, I have an error when I run "npm i" command
Steps To Reproduce:
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
The text was updated successfully, but these errors were encountered: