Unable to deploy Backend of my full stack website to Vercel, getting internal server error

Getting this Error while deploying:

This Serverless Function has crashed.

Your connection is working correctly.

Vercel is working correctly.

500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED

This is my vercel.json file, has vercel updated this json file format or syntax?

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

This is the error in my deployment logs in GET request of /favicon.ico:

Invoke Error    {"errorType":"TypeError","errorMessage":"Right-hand side of 'instanceof' is not an object","stack":["TypeError: Right-hand side of 'instanceof' is not an object","    at Ee (/opt/node-bridge/bridge-server-D2QTJ22O.js:1:3211)","    at Ie.e.request (/opt/node-bridge/bridge-server-D2QTJ22O.js:1:3791)","    at it.handleEvent (/opt/node-bridge/vercel-tla.js:10:111)","    at async Runtime.launcher [as handler] (/opt/node-bridge/vercel-tla.js:9:645)"]}

Changed vercel.json multiple times.