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
141 stars 42 forks source link

Unable to Access Admin Interface #49

Closed rida-rechrache closed 1 month ago

rida-rechrache commented 1 month ago

Hello, I can't open the admin interface on my local environment.

I tried to access: http://localhost:9000/app/login

image

After checking, it seems the issue is related to this import: import { defineRouteConfig } from "@medusajs/admin-sdk"; export const config = defineRouteConfig({ label: "Quotes", icon: DocumentText, });

image

I'm not sure of the right solution, but to unblock myself, I temporarily disabled this line.

rida-rechrache commented 1 month ago

Hi @Riqwan @eudago , Do you have any plans to migrate Medusa version preview to the rc version? I think the RC version might resolve this issue, as I noticed this commit in the v2.0.0-rc.6 tag: https://github.com/medusajs/medusa/releases/tag/v2.0.0-rc.6, specifically this commit: https://github.com/medusajs/medusa/pull/9602/commits/7e442bda590fb5a3e2a8d9761dca150524ca6f60

riqwan commented 1 month ago

Hey @rida-rechrache , yes will be doing this today 💪🏻

riqwan commented 1 month ago

@rida-rechrache this is done now.

rida-rechrache commented 1 month ago

@riqwan the issue is solved with the migration RC version, thank you :)

image