Help Center/ CodeArts Build/ User Guide (Ally Region)/ FAQs/ Using npm for Build/ No Matching Version Found For the Dependency
Updated on 2026-01-08 GMT+08:00

No Matching Version Found For the Dependency

Symptoms

npm cannot find a matching version for the dependency. The error is displayed in the following figure.

Cause Analysis

npm cannot find a matching version for the dependency.

Solution

  1. Check whether the dependency versions configured in package.json and package-lock.json are correct. If not, correct them.
  2. Check whether the version exists in the image origin.