Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work.. #237

Open
razb-viola opened this issue Feb 8, 2024 · 0 comments
Open

It doesn't work.. #237

razb-viola opened this issue Feb 8, 2024 · 0 comments

Comments

@razb-viola
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant