mercurjs / mercur

JavaScript Open Source
Multi-Vendor Marketplace Accelerator build on top of Medusa.js. Mercur simplifies the path to your own customized, multi-vendor marketplace.
https://mercurjs.com
MIT License
171 stars 17 forks source link

routes registration error when seeding #24

Open AzizTahaDev opened 3 weeks ago

AzizTahaDev commented 3 weeks ago

after following the video posted on YouTube, and done many fresh installations, i always encounter this error when seeding

image

i am using nodejs 20.17.0 LTS, tried to merge with the pull requests here, still no success.

steps to reproduce:

1- use nodejs 20.17.0 2- create new project using npx 3- cd into api 4- yarn install 5- comment the last two plugins as per video 6- yarn seed

tienpp commented 2 weeks ago

I followed the temporary workaround from this https://github.com/mercurjs/mercur-api-starter/issues/29#issuecomment-2306822961 and the plugins initialation was successful.