#vercel deployment error this serverless function has crashed
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED
i see the logs and yet i dont understand any of it? is there any guide so i can fix this problem. im trying to deploy my backend to vercel
You solved it right?
Try this
vercel.json
{
"version": 2,
"builds": [
{
"src": "dist/main.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "dist/main.js"
}
]
}