meshmonitor icon indicating copy to clipboard operation
meshmonitor copied to clipboard

[SUPPORT] - 3.4.11 - npm install fails

Open kokoshell opened this issue 9 months ago • 3 comments

root@rpi5trixie:/home/tester1/meshmonitor# npm install npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @typescript-eslint/[email protected] npm error Found: [email protected] npm error node_modules/eslint npm error dev eslint@"^10.0.0" from the root project npm error peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected] npm error node_modules/@eslint-community/eslint-utils npm error @eslint-community/eslint-utils@"^4.9.1" from @typescript-eslint/[email protected] npm error node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils npm error @typescript-eslint/utils@"8.54.0" from @typescript-eslint/[email protected] npm error node_modules/@typescript-eslint/eslint-plugin npm error dev @typescript-eslint/eslint-plugin@"^8.54.0" from the root project npm error 1 more (@typescript-eslint/type-utils) npm error @eslint-community/eslint-utils@"^4.8.0" from [email protected] npm error 3 more (@eslint/compat, @eslint/js, eslint-plugin-react-refresh) npm error npm error Could not resolve dependency: npm error peer eslint@"^8.57.0 || ^9.0.0" from @typescript-eslint/[email protected] npm error node_modules/@typescript-eslint/eslint-plugin npm error dev @typescript-eslint/eslint-plugin@"^8.54.0" from the root project npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/eslint npm error peer eslint@"^8.57.0 || ^9.0.0" from @typescript-eslint/[email protected] npm error node_modules/@typescript-eslint/eslint-plugin npm error dev @typescript-eslint/eslint-plugin@"^8.54.0" 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. npm error npm error npm error For a full report see: npm error /root/.npm/_logs/2026-02-10T12_49_06_734Z-eresolve-report.txt npm error A complete log of this run can be found in: /root/.npm/_logs/2026-02-10T12_49_06_734Z-debug-0.log

kokoshell avatar Feb 10 '26 12:02 kokoshell

Claude finished @sisari's task —— View job


🤖 Automated Triage

Analysis Complete

Thank you for reporting this issue! This appears to be a peer dependency conflict between ESLint v10 and the TypeScript ESLint plugin.

Root Cause:

  • MeshMonitor is using eslint@^10.0.0 (package.json:112)
  • But @typescript-eslint/eslint-plugin@^8.54.0 (package.json:105) only supports eslint@"^8.57.0 || ^9.0.0"
  • ESLint v10 is too new for the current TypeScript ESLint plugin version

Diagnostic Steps

To help resolve this issue, please run the following diagnostic steps:

1. Check Node.js Version

node --version

Expected output: Should be v20.x.x or higher (as per setup docs)

2. Try Installing with Legacy Peer Dependencies

npm install --legacy-peer-deps

Expected behavior: Should complete installation with warnings about peer dependencies

3. Alternative: Use Exact ESLint Version

npm install eslint@^9.0.0

Expected behavior: Downgrades ESLint to a compatible version

4. Check for Package Lock Issues

rm -rf node_modules package-lock.json
npm install --legacy-peer-deps

Expected behavior: Clean installation should work with legacy peer deps flag

Resolution Options

  1. Quick fix: Use npm install --legacy-peer-deps
  2. Proper fix: Update @typescript-eslint packages to versions compatible with ESLint v10
  3. Alternative: Downgrade ESLint to v9.x temporarily

Documentation References

Labels: bug, dependencies, npm, typescript

Please share the outputs from these diagnostic steps, and I'll help analyze the results.


Yeraze avatar Feb 10 '26 15:02 Yeraze

Any updates here?

Yeraze avatar Feb 16 '26 17:02 Yeraze

closing due to inactivity

Yeraze avatar Feb 24 '26 15:02 Yeraze