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
- Check whether the dependency versions configured in package.json and package-lock.json are correct. If not, correct them.
- Check whether the version exists in the image origin.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.