#vercel deployment error this serverless function has crashed

3 messages · Page 1 of 1 (latest)

opaque tiger
#

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

plucky veldt
#

You solved it right?

late osprey
#

Try this

vercel.json

{
    "version": 2,
    "builds": [
        {
        "src": "dist/main.js",
        "use": "@vercel/node"
        }
    ],
    "routes": [
        {
        "src": "/(.*)",
        "dest": "dist/main.js"
        }
    ]
}