Error code

npm EPEERINVALID

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

What it means

A peer dependency requirement could not be satisfied by the packages currently installed.

How to fix it

  1. Install the peer dependency manually at a version that satisfies all consumers.
  2. Use npm install --legacy-peer-deps as a temporary workaround.
  3. Update the conflicting packages to versions whose peer ranges overlap.

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