Skip to main content
Applies to:
  • Plan - Any
  • Deployment - Any
  • Use case - Resolve npm installation failures caused by autoevals@0.3.0 engine restrictions by upgrading to autoevals@0.4.0 or updating nested dependencies

Summary

npm install fails with an EBADENGINE error. This happens when autoevals@0.3.0 declares restrictive package engines. Install autoevals@0.4.0 to fix the error.

What is happening

The autoevals@0.3.0 package.json declares engines that require pnpm. When you run npm install with engine-strict=true, npm rejects the package and returns an EBADENGINE error. The failure is caused by the package engine metadata in autoevals@0.3.0, not by npm itself.

Fix or suggestion

  1. In your project, run: npm install autoevals@0.4.0
This release removes the restrictive engine declaration and allows npm installs to succeed.

Option 2: Update a nested dependency that pins v0.3.0

  1. Find any nested installs of the old version: npm ls autoevals
  2. If the tree shows a nested autoevals@0.3.0, identify the package that depends on it.
  3. Update that package to a version that depends on autoevals@0.4.0 or later by changing your package.json or installing a newer release of the parent package and then running npm install.
If you cannot update the dependent package immediately, installing autoevals@0.4.0 at the top level often prevents npm from attempting to install the nested v0.3.0, provided the parent package accepts a newer range.

How to confirm it worked

  • npm install completes without an EBADENGINE error.
  • npm install completes without an EBADENGINE error.

Notes

  • The Autoevals installation documentation lists npm install autoevals as a supported install method. The package engine restriction in autoevals@0.3.0 was an unintended release issue fixed in autoevals@0.4.0.