#Sometimes Medusajs cannot start

1 messages · Page 1 of 1 (latest)

gilded flume
#

Hi ! I've scaffolded a fresh Medusajs project. But there are times where it cannot start saying there is an error An error occured while registering API Routes. Cannot read properties of undefined (reading 'def') at exports.default from medusajs/medusa. I'm using the version 2.13.1

inland nacelle
#

remove the node modules and lock file and rerun install with your package manager (suggesting pnpm instead of npm)

tardy lotus
#

Never had a problem with any version. Could send more info?

agile rampart
tardy lotus
#

What I see is there support for pnpm and yarn.

#

@gilded flume with yarn it's working well?

fast trout
#

Hey @agile rampart could you share a reproduction repo please?