NPM doesn’t install module dependencies

It looks like you hit a bug that has existed for quite a while and doesn’t have solution yet. There are several open issues for this case in the npm repository:

In the first one people list several workarounds that you may try.

An alternative solution may be (a little hackish) to explicitly list the dependencies as first level dependents. This requires you to maintain the list but practically it has to be done very infrequently.

Leave a Comment