#Monorepo Boilerplate available?

2 messages · Page 1 of 1 (latest)

regal terrace
#

Is there a working boilerplate with both the current storefront as well the medusa 2.0 server available?

I basically just need:
/apps/server
/apps/storefront

I just cant seem to make it work with monorepo, so many tsconfig issues in combination with running medusa commands under the hood. Thanks for any pointers

#

I just want a repo where i can run turbo run dev and it spins up both frontend and server wihtout any issues. I just cant get it to work for the server. It doesnt take over the correct tsconfig.json and always crashes with:

import { loadEnv, defineConfig } from '@medusajs/utils'
^^^^^^

SyntaxError: Cannot use import statement outside a module
```
Yes, I googled and followed the instructions but it still doesnt work.

I feel it has something to do how the medusa CLI for `medusa develop` loads tsconfig (if at all).