Open n3cr0murl0c opened 1 month 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
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