You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been searching up and down everywhere but can't find an example of how to setup a razzle app to be deployed in Vercel. I found this #900 and tried to modify it but still, the server.js doesn't seem to be loaded:
No. Vercel's support team said that Vercel is not meant to be used with an always-on express server. That's an anti-pattern. It's meant to be used with short-lived serverless functions.
I've been searching up and down everywhere but can't find an example of how to setup a razzle app to be deployed in Vercel. I found this #900 and tried to modify it but still, the server.js doesn't seem to be loaded:
My
vercel.json
:What I see in the deployed app:
The vercel deployment log:
My
src/index.tsx
:The express part of my
src/server.tsx
:Relevant scripts from my
package.json
:The text was updated successfully, but these errors were encountered: