- Clone repository
- Run
npm install
in both directories i.etestModule
andmoduleConsumer
.
Note: While resolving the testModule
dependencies use the --ignore-scripts
flag as the preinstall
script gets run by default on executing npm install
.
- Inside the
moduleConsumer
directory run the commandnpm install ../testModule
. - Run
moduleConsumer
usingnpm start
.