Help Center/ CodeArts Build/ FAQs/ npm Builds/ What Should I Do When the Dependency Version Cannot Be Found?
Updated on 2024-10-10 GMT+08:00

What Should I Do When the Dependency Version Cannot Be Found?

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.