Vladi Ciuculescu
Vladi Ciuculescu

Reputation: 1

Deploy Nest Js Project + Prisma on Vercel

I am trying to deploy a Nest Js project on Vercel. I get this error
enter image description here When I look at the logs I see that I get this : enter image description here

I deployed my prisma database to vercel succesfully and even added this vercel.json file

{
  "version": 2,
  "builds": [
    {
      "src": "src/main.ts",
      "use": "@vercel/node"
    }
  ],
  "routes": [
    {
      "src": "/(.*)",
      "dest": "src/main.ts",
      "methods": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "OPTIONS",
        "DELETE",
        "HEAD",
        "CONNECT",
        "TRACE"
      ]
    }
  ]
}

Other than that I don't know what the problem is, can anyone help me ?

Upvotes: 0

Views: 19

Answers (0)

Related Questions