I'm struggling to deploy this project. Locally it's all fine and easy, but deploying is not straightforward, according to the docs + turbo monorepo aren't really in sync.
Usage Error: The nearest package directory (/.../my-project/apps/backend/.medusa/server) doesn't seem to be part of the project declared in /.../my-project.
I even create yarn.lock file in it using custom script in package.json (root):
Hi!
I'm struggling to deploy this project. Locally it's all fine and easy, but deploying is not straightforward, according to the docs + turbo monorepo aren't really in sync.
I'm following here https://docs.medusajs.com/learn/build how to build, but
Throws error:
I even create yarn.lock file in it using custom script in package.json (root):
But then I'm getting:
Thing is if I want to deploy it, i can't use both ports :8000 and :9000 at same time.
Any ideas?
EDIT: i managed to solve it, i think, not sure if that's the correct way:
"@starter/types": "workspace:^",
in backend in package.json