From 1d7c564c4a2d636f39e43fbc2696f7c3722a3405 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 12 Mar 2026 19:59:59 -0500 Subject: [PATCH] no turbo --- next.config.ts | 2 +- package.json | 2 +- src/app/api/auth/[...nextauth]/route.ts | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/next.config.ts b/next.config.ts index 8c698c2..bc98279 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,7 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", - serverExternalPackages: ["@prisma/client"], + serverExternalPackages: ["@prisma/client", "prisma"], }; export default nextConfig; diff --git a/package.json b/package.json index cfd86c1..7ceb6f6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build --no-turbo", "start": "next start", "lint": "eslint" }, diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index 7b38c1b..552a409 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -1,4 +1,7 @@ import NextAuth from "next-auth"; +export const dynamic = "force-dynamic"; +export const runtime = "nodejs"; + import { authOptions } from "@/lib/auth"; const handler = NextAuth(authOptions);