Error code

npm ERESOLVE

NPMERESOLVE
Runtime Error Code· An error code from a programming runtime or package manager, like Node.js or npm.

What it means

npm could not resolve the dependency tree — a package requires a version that conflicts with what another package requires.

How to fix it

  1. Run npm install --legacy-peer-deps to bypass strict peer dependency checking.
  2. Audit conflicting package versions with npm ls <package>.
  3. Pin a specific version of the conflicting package in your package.json resolutions or overrides field.
  4. Update packages to versions whose peer dependency ranges are compatible.

Not affiliated with npm. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.