I\'m developing two modules for NodeJS, first one named aligator
and second one aligator-methods
. Second one depends on first one to work. I\'m develop
What worked for me was to:
node_modules
in both the dependency and the consumer module. npm unlink --no-save [dependency-module]
Now I am able to fully test my unpublished module locally.
Additionally, there is an npm pack command which can help you test your unpublished modules, although not quite as robust.
npm-pack