Home / Guides / Self-Hosting & Infra
npm ERESOLVE and EBADENGINE Errors: Peer Dependencies, --legacy-peer-deps, engines and semver Ranges
Reproduced with npm 10.9: react@18 with react-dom@19 giving ERESOLVE, the legacy-peer-deps workaround, EBADENGINE with and without engine-strict, an E404 package, and semver.satisfies results for caret, tilde, prerelease and x ranges.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →