wclr / yalc

Work with yarn/npm packages locally like a boss.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It doesn't work..

razb-viola opened this issue · comments

Tried to go to my common module and ran: yalc publish. Then went to my project and ran either: yalc add my-package or yalc link my-package. Then tried to do npm run dev or docker-compose up. Both get many errors.
For example, when running the npm run dev:

Error: Cannot find module 'winston'
Require stack:

Winston is a dependency of my common module, for example. I get this error when trying to run my project.

Just that we will be in the same scope, yalc purpose is to support npm link for docker-compose to run multiple microservices that use a local common npm module, right?