medusajs / b2b-starter-medusa

Official Medusa B2B Starter template. Features common B2B ecommerce requirements and can be easily adapted and extended.
https://dub.sh/medusa-b2b-starter
MIT License
140 stars 37 forks source link

yarn start not working #89

Closed brooktewabe closed 1 week ago

brooktewabe commented 1 week ago

I am just setting up this app and yarn dev works fine but yarn start returns missing tasks in project could not find task start in project

What does this mean if anyone has any idea?

sradevski commented 1 week ago

Please see https://docs.medusajs.com/learn/build on how to run production builds

mk0y commented 5 days ago

I'm also curious about this, and I'm not really following where to run npx medusa build command? If I run it from apps/backend I will be getting Cannot find module '@starter/types' or its corresponding type declarations.. And from root it won't work, there's no tsconfig.json file.

mk0y commented 5 days ago

You need "start": {} in turbo.json even if it's empty, and (with optional filter) npx turbo run start -- --filter=backend if you want to start only backend. This is basic stuff for deployment, should be documented.