Error AtlasError Documentation and Resolution

npm ERESOLVE unable to resolve dependency tree

ERESOLVE unable to resolve dependency tree

npm could not select a dependency tree satisfying the declared relationships, often because a plugin requires a peer version different from the host library installed by the project.

ERESOLVEdependencies
ERESOLVE unable to resolve dependency tree
  • A plugin peer range excludes the installed framework or library version.
  • Packages were upgraded independently to mutually incompatible versions.
  1. Read the Found and Could not resolve dependency sections to identify the host package, requesting plugin, and required peer range.
  2. Choose compatible maintained versions of both packages. Check the plugin release documentation rather than assuming the newest plugin supports every host major.
  3. Update dependencies with npm install, review the manifest and lockfile changes, and run the application tests followed by npm ci.
  4. Use legacy-peer-deps only as a deliberate temporary compatibility workaround: it ignores peer dependency contracts. --force can also accept a broken tree and should not be the default solution.
npm official documentation