npm Install results in dependency error

Issue #2659 resolved
Mike Wiley created an issue

npm install

C:\Users\servn\projects\SF-Dev>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: salesforce-app@1.0.0
npm ERR! Found: eslint@9.12.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.9.1" from the root project
npm ERR!   peer eslint@"^7.5.0 || ^8.0.0 || ^9.0.0" from @babel/eslint-parser@7.25.8
npm ERR!   node_modules/@babel/eslint-parser
npm ERR!     peer @babel/eslint-parser@"^7" from @lwc/eslint-plugin-lwc@1.8.2
npm ERR!     node_modules/@lwc/eslint-plugin-lwc
npm ERR!       dev @lwc/eslint-plugin-lwc@"^1.1.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7 || ^8" from @lwc/eslint-plugin-lwc@1.8.2
npm ERR! node_modules/@lwc/eslint-plugin-lwc
npm ERR!   dev @lwc/eslint-plugin-lwc@"^1.1.2" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\servn\AppData\Local\npm-cache\_logs\2024-10-18T15_31_46_226Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\servn\AppData\Local\npm-cache\_logs\2024-10-18T15_31_46_226Z-debug-0.log

Comments (1)

  1. Log in to comment