-
Notifications
You must be signed in to change notification settings - Fork 78
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
npm install
now fails in projects created with sf project generate
due to unresolvable (ESLint) dependencies
#3065
Comments
Hello @SCWells72 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-17005525 |
I am also facing the same issue:
|
this is fixed on latest sf. Thanks for reporting! |
@cristiand391 Still facing the same issue. Below are the details:
|
Same here {
"cliVersion": "@salesforce/cli/1.86.7-legacy.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v18.15.0",
"osVersion": "Darwin 24.1.0",
"shell": "zsh",
"rootPath": "/Users/dimabondarenko/.local/share/sfdx/client/7.209.6-8ba3197/sf",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.3.1 (core)",
"@oclif/plugin-commands 2.2.17 (core)",
"@oclif/plugin-help 5.2.11 (core)",
"@oclif/plugin-not-found 2.3.26 (core)",
"@oclif/plugin-plugins 3.1.6 (core)",
"@oclif/plugin-search 0.0.18 (core)",
"@oclif/plugin-update 3.1.22 (core)",
"@oclif/plugin-version 1.3.6 (core)",
"@oclif/plugin-warn-if-update-available 2.0.41 (core)",
"@oclif/plugin-which 2.2.22 (core)",
"@salesforce/cli 1.86.7-legacy.0 (core)",
"apex 2.3.4 (core)",
"auth 2.8.4 (core)",
"data 2.4.5 (core)",
"deploy-retrieve 1.13.5 (core)",
"info 2.6.30 (core)",
"limits 2.3.23 (core)",
"login 1.2.15 (core)",
"org 2.9.19 (core)",
"schema 2.3.17 (core)",
"settings 1.4.17 (core)",
"sobject 0.1.32 (core)",
"source 2.10.22 (core)",
"telemetry 2.2.1 (core)",
"templates 55.5.2 (core)",
"trust 2.4.27 (core)",
"user 2.3.20 (core)"
]
} only started to work when changed eslint version to "devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.9.0",
"@prettier/plugin-xml": "^3.2.2",
"@salesforce/eslint-config-lwc": "^3.2.3",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^7.0.1",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^28.8.1",
"husky": "^9.1.5",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"prettier-plugin-apex": "^2.0.1"
}, your package for @lwc/eslint-plugin-lwc is using devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-typescript": "^7.24.6",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"semver": "^7.6.0"
}, |
@gonardfreeman that's a +1 year old version of the CLI, try updating to latest. |
I believe this is a result of the project template updates for Winter '25, but now when I create a new project using the CLI,
npm install
fails due to unresolvable dependencies, primarily relating to the version numbers of ESLint:The user must either remove or change these dependencies before
npm install
will succeed. Let me know if I can provide any other useful diagnostic information.The text was updated successfully, but these errors were encountered: