Open n3cr0murl0c opened 3 months ago
@n3cr0murl0c did you get any solution for it
@shahednasser can you please help us out in this, as the new custom routes on the admin side is not visible on the live vercel server
@n3cr0murl0c did you get any solution for it
havent found a solution for the bug per se, but have found a workaround. I've generated another project from scratch, restructured again all my source files, configured everything again. So im guessing the problem is somewhere in the compiler options. But the problem of the repo to recreate the bug posted here still persits
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.
Have anyone found a solution for this problem? It's weird! My project had many admin custom routes and widgets and everything was working fine, but suddenly out of no where all the custom routes and widgets are not displayed any more!
Have anyone found a solution for this problem? It's weird! My project had many admin custom routes and widgets and everything was working fine, but suddenly out of no where all the custom routes and widgets are not displayed any more!
the work around i found for this problem was creating a brand new blank project to load a new working (supposedly) configuration, then proceed to copy your customized routes/widgets. Haven't had the time to continue following the trace of the problem, as is it something with the compiler.
Have anyone found a solution for this problem? It's weird! My project had many admin custom routes and widgets and everything was working fine, but suddenly out of no where all the custom routes and widgets are not displayed any more!
the work around i found for this problem was creating a brand new blank project to load a new working (supposedly) configuration, then proceed to copy your customized routes/widgets. Haven't had the time to continue following the trace of the problem, as is it something with the compiler.
I followed a simillar approach to yours where I only deleted the admin directory and re-installed the admin plugin, and then re-created all the routes and widgets one by one.
Bug report
Describe the bug
api route and admin not showing routes and widgets while running medusa start, but they show while running medusa develop. No Errors, no alerts, nothing appears to be wrong
System information
Medusa version :
"@medusajs/medusa": "^1.20.7"
Node.js version:18LTS and 20.12.2
Database: postgresql Operating system: Debian 11Steps to reproduce the behavior
https://github.com/n3cr0murl0c/2k3-backend
and clone the repohttp://localhost:9000/app
and login withmedusaUser@testmail.com
-pchange-the-user
docker compose down backend
and runnpm run dev
and go into localhost:7001 and now route and widget works.Expected behavior
Route and widget should show in production
Screenshots
admin route in develop mode (medusa develop)
api route in develop mode (medusa develop)
widget working in develop mode (medusa develop)
api route not working in production (medusa start)
Code snippets
package.json
medusa-config.js