wclr / yalc

Work with yarn/npm packages locally like a boss.
MIT License
5.64k stars 147 forks source link

It doesn't work.. #237

Open razb-viola opened 8 months ago

razb-viola commented 8 months ago

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?