You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am working on a turborepo project where I would like to use medusa with nextjs and some custom packages. First problem is that I can not start medusa app with turbo run dev. Possible fix is disable hoisting in package.json for yarn workspaces for modules like @medusajs/admin, @medusajs/medusa...
Okay it got fixed, but when I want to use custom package with my custom payment processor from package/ directory medusa isn't reading services from that. Subscribers works fine but I can not use my custom services like fulfillment service or payment processor. But when I put my custom package in node_modules in medusa project directory then it works fine. It seems like linking not working.
Is medusa even "supported" by turborepos? Is there any ways to fix it?
Medusa v2.0 is supported with a turborepo setup (we have a couple running like that already). We won't be adding any support for v1 unfortunately, so I'll close this ticket.
Bug report
Describe the bug
Hi, I am working on a turborepo project where I would like to use medusa with nextjs and some custom packages. First problem is that I can not start medusa app with
turbo run dev
. Possible fix is disable hoisting in package.json for yarn workspaces for modules like @medusajs/admin, @medusajs/medusa...Okay it got fixed, but when I want to use custom package with my custom payment processor from package/ directory medusa isn't reading services from that. Subscribers works fine but I can not use my custom services like fulfillment service or payment processor. But when I put my custom package in node_modules in medusa project directory then it works fine. It seems like linking not working.
Is medusa even "supported" by turborepos? Is there any ways to fix it?
System information
Medusa version (including plugins): 1.17.2
Node.js version: 18.71.1
Database: postgres
Operating system: Ubuntu 22.04
Browser (if relevant): Brave
Screenshots
The text was updated successfully, but these errors were encountered: