V
V
Vadim2021-08-03 18:37:09
Node.js
Vadim, 2021-08-03 18:37:09

How to properly update child dependencies in package.json and package-lock.json?

Suppose I have two independent parent packages, each with a different version of the child dependency in the package.json file.

During installation, the latest version of child is installed in the node_modules folder, as a result, the first parent starts to fail due to a mismatch between the versions of the installed child.

How to find which version of child will be compatible with both parent and where to register it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question