Vercel Build and Framework #6860
-
SummaryMy full stack app deploys, but I either get a "404 Not Found" or "Not Found" when deployment is completed. I'm not sure what to do. What's wrong with my build? And is there anything wrong with my code? Can someone please help? Examplehttps://github.com/elle-concetta/FullStack-Wedding Steps to ReproduceHere is the git repository my vercel project is connected to: https://github.com/elle-concetta/FullStack-Wedding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like you are trying to run a server in Vercel which isn't possible since Vercel is a Serverless platform. You can follow this instruction to learn more about how to run express app on Vercel: https://vercel.com/guides/using-express-with-vercel |
Beta Was this translation helpful? Give feedback.
https://github.com/elle-concetta/FullStack-Wedding/blob/e8cafef25bd6f8b61654eb6243bf55ebfdb7ef76/package.json#L6-L8
It looks like you are trying to run a server in Vercel which isn't possible since Vercel is a Serverless platform. You can follow this instruction to learn more about how to run express app on Vercel: https://vercel.com/guides/using-express-with-vercel