i tried to deploy express-js on vercel and i’m getting error
error
vercel.json
{
"version": 2,
"builds": [
{
"src": "./api/index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/api"
}
]
}
folder structure
im using node v18.15.0
New contributor
Henok is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.