I am getting the following error everytime I try to deploy my React Astro Typescript project and the build itself fails.
“The following Serverless Functions contain an invalid “runtime”: - _render (nodejs18.x)”
I am able to build successfully on my local.
I have verified NodeJs Version to be v.18.x
Below is my vercel.json file
{
“functions”: {
“src/pages/api/**/*.js”: {
“runtime”: “nodejs18.x”
}
}
}
Have tried out quite a few alternatives but it is still failing in the build stage itself.
URL: https://clinic-website-5p4mgg5ta-tabishs-projects.vercel.app/