npm fails at installing dependency of dependency when they are local dependencies and package-lock is present.

What I Wanted to Do

Install a local dependency (…/something) that depends on another local dependency.

What Happened Instead

It works as long as there is no package-lock file, but once the package-lock file is there it will get confused about where the dependency of the dependency is.

Reproduction Steps

Here is a minimal repository showing the error in practice

Platform Info

npm version 6.9.0

thanks shadowspawn, I created a separate issue for this different issue :)

You should open another topic for “another thing” since it is a different issue. :-)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.