Is possible to deploy on Vercel? #83
-
Is possible to deploy on Vercel? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
It should be able to be deployed everywhere Hono can be deployed, but I only have Node support, so I'm not sure it will work well on their https://hono.dev/docs/getting-started/vercel I haven't tested but |
Beta Was this translation helpful? Give feedback.
-
Would also be interested. Tried a few things but can't get it to run. |
Beta Was this translation helpful? Give feedback.
-
Hello @rphlmr, thanks for your work on this package! I’ve tried everything to get it running on Vercel, but no luck—Vercel completely ignores the Hono server. I even tried throwing errors inside the server, but they never get picked up in the production build, almost like the server isn’t there. That said, everything works perfectly in development and local builds, but not on Vercel. Is there an explanation for this? Or any suggestions on how I can improve compatibility between the two? |
Beta Was this translation helpful? Give feedback.
I'm now using https://github.com/huijiewei/resolid-react-router-hono which seems to work, I have yet to fully test in prod.
Edit: Actually now I'm using @vercel/react-router in vercel and react-router-hono-server in local.