[15:52:09.225] Running build in Washington, D.C., USA (East) – iad1
[15:52:09.225] Build machine configuration: 2 cores, 8 GB
[15:52:09.255] Cloning GitHub - SkidGod4444/prexo (Branch: main, Commit: 577d877)
[15:52:09.421] Previous build caches not available
[15:52:09.681] Cloning completed: 426.000ms
[15:52:10.038] Running “vercel build”
[15:52:10.782] Vercel CLI 44.2.12
[15:52:10.960] > Detected Turbo. Adjusting default settings…
[15:52:11.164] Running “install” command: bun install
…
[15:52:11.206] bun install v1.2.17 (282dda62)
[15:52:11.246] Resolving dependencies
[15:52:11.353] Resolved, downloaded and extracted [24]
[15:52:52.268] Saved lockfile
[15:52:52.268]
[15:52:52.268] + @types/node@20.19.0
[15:52:52.269] + @types/react@19.1.8
[15:52:52.269] + @types/react-dom@19.1.6
[15:52:52.269] + typescript@5.8.2
[15:52:52.269] + @ai-sdk/togetherai@0.2.14
[15:52:52.269] + @better-fetch/fetch@1.1.18
[15:52:52.269] + @prexo/keys@workspace:packages/keys
[15:52:52.269] + @prexo/store@workspace:packages/store
[15:52:52.269] + @unkey/api@0.36.0
[15:52:52.269] + @unkey/hono@1.5.0
[15:52:52.269] + hono@4.8.2
[15:52:52.269] + next@15.3.4
[15:52:52.269] + react@19.1.0
[15:52:52.269] + react-dom@19.1.0
[15:52:52.269]
[15:52:52.270] 1144 packages installed [41.09s]
[15:52:52.298] Detected Next.js version: 15.3.4
[15:52:52.298] Running “turbo run build”
[15:52:52.345]
[15:52:52.345] Attention:
[15:52:52.346] Turborepo now collects completely anonymous telemetry regarding usage.
[15:52:52.346] This information is used to shape the Turborepo roadmap and prioritize features.
[15:52:52.346] You can learn more, including how to opt-out if you’d not like to participate in this anonymous program, by visiting the following URL:
[15:52:52.346] Telemetry | Turborepo
[15:52:52.346]
[15:52:52.412] • Packages in scope: api
[15:52:52.412] • Running build in 1 packages
[15:52:52.412] • Remote caching enabled
[15:52:52.661] api:build: cache miss, executing ddd4a9cd0832e20e
[15:52:52.664] api:build: $ turbo --filter=@prexo/db db:generate
[15:52:52.776] api:build: • Packages in scope: @prexo/db
[15:52:52.776] api:build: • Running db:generate in 1 packages
[15:52:52.776] api:build: • Remote caching enabled
[15:52:52.789] api:build: @prexo/db:db:generate: cache bypass, force executing 00ab6f28bc30a0d6
[15:52:52.792] api:build: @prexo/db:db:generate: $ prisma generate --accelerate
[15:52:53.582] api:build: @prexo/db:db:generate: Prisma schema loaded from prisma/schema.prisma
[15:52:53.766] api:build: @prexo/db:db:generate:
[15:52:53.767] api:build: @prexo/db:db:generate: Generated Prisma Client (v6.10.1, engine=none) to ./../../node_modules/@prisma/client in 59ms
[15:52:53.767] api:build: @prexo/db:db:generate:
[15:52:53.767] api:build: @prexo/db:db:generate: Start by importing your Prisma Client (See: Introduction to Prisma Client | Prisma Documentation)
[15:52:53.767] api:build: @prexo/db:db:generate:
[15:52:53.767] api:build: @prexo/db:db:generate: Tip: Interested in query caching in just a few lines of code? Try Accelerate today! Prisma Accelerate | Make your database queries faster
[15:52:53.767] api:build: @prexo/db:db:generate:
[15:52:53.779] api:build:
[15:52:53.779] api:build: Tasks: 1 successful, 1 total
[15:52:53.779] api:build: Cached: 0 cached, 1 total
[15:52:53.779] api:build: Time: 1.066s
[15:52:53.779] api:build:
[15:52:53.831] api:build: $ next build
[15:52:54.455] api:build: Attention: Next.js now collects completely anonymous telemetry regarding usage.
[15:52:54.456] api:build: This information is used to shape Next.js’ roadmap and prioritize features.
[15:52:54.456] api:build: You can learn more, including how to opt-out if you’d not like to participate in this anonymous program, by visiting the following URL:
[15:52:54.457] api:build: Telemetry | Next.js by Vercel - The React Framework
[15:52:54.457] api:build:
[15:52:54.560] api:build: ▲ Next.js 15.3.4
[15:52:54.560] api:build:
[15:52:54.586] api:build: Creating an optimized production build …
[15:53:10.533] api:build: ✓ Compiled successfully in 11.0s
[15:53:10.539] api:build: Linting and checking validity of types …
[15:53:16.378] api:build: Collecting page data …
[15:53:16.918] api:build: e[2m2025-07-07T10:23:16.916Ze[0m e[31mERRORe[0m e[1m[Better Auth]:e[0m You are using the default secret. Please set BETTER_AUTH_SECRET
in your environment variables or pass secret
in your auth config.
[15:53:16.919] api:build: e[2m2025-07-07T10:23:16.918Ze[0m e[33mWARNe[0m e[1m[Better Auth]:e[0m Social provider github is missing clientId or clientSecret
[15:53:16.919] api:build: e[2m2025-07-07T10:23:16.918Ze[0m e[33mWARNe[0m e[1m[Better Auth]:e[0m Social provider discord is missing clientId or clientSecret
[15:53:16.919] api:build: e[2m2025-07-07T10:23:16.919Ze[0m e[33mWARNe[0m e[1m[Better Auth]:e[0m Social provider google is missing clientId or clientSecret
[15:53:26.347] api:build: Error: Unkey root key must be set, maybe you passed in undefined
or an empty string?
[15:53:26.349] api:build: at (.next/server/app/v1/[[…route]]/route.js:403)
[15:53:26.350] api:build: at new Af (.next/server/app/v1/[[…route]]/route.js:403:12819)
[15:53:26.350] api:build: at 522 (.next/server/app/v1/[[…route]]/route.js:403:17886)
[15:53:26.350] api:build: at t (.next/server/edge-runtime-webpack.js:1:127)
[15:53:26.350] api:build: at (.next/server/app/v1/[[…route]]/route.js:447:10999)
[15:53:26.350] api:build: at r (.next/server/edge-runtime-webpack.js:1:1266)
[15:53:26.350] api:build: at (.next/server/app/v1/[[…route]]/route.js:1:51)
[15:53:26.353] api:build: Error [PrismaClientInitializationError]: error: Environment variable not found: DATABASE_URL.
[15:53:26.353] api:build: at ip (.next/server/app/v1/[[…route]]/route.js:411:104)
[15:53:26.353] api:build: at iX.getURLAndAPIKey (.next/server/app/v1/[[…route]]/route.js:412:7809)
[15:53:26.357] api:build: at (.next/server/app/v1/[[…route]]/route.js:412:3652)
[15:53:26.357] api:build: at iX.start (.next/server/app/v1/[[…route]]/route.js:412:4101)
[15:53:26.357] api:build: at (.next/server/app/v1/[[…route]]/route.js:217:23400)
[15:53:26.357] api:build: at (.next/server/app/v1/[[…route]]/route.js:217:23500)
[15:53:26.357] api:build: at Proxy.n5 (.next/server/app/v1/[[…route]]/route.js:408:4177)
[15:53:26.357] api:build: at 522 (.next/server/app/v1/[[…route]]/route.js:217:22758)
[15:53:26.357] api:build: at t (.next/server/edge-runtime-webpack.js:1:127)
[15:53:26.357] api:build: at (.next/server/app/v1/[[…route]]/route.js:447:10999) {
[15:53:26.357] api:build: clientVersion: ‘6.10.1’,
[15:53:26.357] api:build: errorCode: undefined,
[15:53:26.357] api:build: retryable: undefined
[15:53:26.357] api:build: }
[15:53:26.358] api:build:
[15:53:26.358] api:build: > Build error occurred
[15:53:26.380] api:build: [Error: Failed to collect page data for /v1/[[…route]]] {
[15:53:26.380] api:build: type: ‘Error’
[15:53:26.380] api:build: }
[15:53:26.388] api:build: error: script “build” exited with code 1
[15:53:26.388] api:build: ERROR: command finished with error: command (/vercel/path0/apps/api) /bun1/bun run build exited (1)
[15:53:26.389] api#build: command (/vercel/path0/apps/api) /bun1/bun run build exited (1)
[15:53:26.389]
[15:53:26.389] WARNING finished with warnings
[15:53:26.389]
[15:53:26.389] Warning - the following environment variables are set on your Vercel project, but missing from “turbo.json”. These variables WILL NOT be available to your application and may cause your build to fail. Learn more at Using environment variables | Turborepo
[15:53:26.389]
[15:53:26.389] [warn] api#build
[15:53:26.390] [warn] - UPSTASH_VECTOR_REST_URL
[15:53:26.390] [warn] - UPSTASH_VECTOR_REST_TOKEN
[15:53:26.390] [warn] - TOGETHER_API_KEY
[15:53:26.390] [warn] - OPENAI_API_KEY
[15:53:26.390] [warn] - DATABASE_URL
[15:53:26.390] [warn] - DIRECT_DATABASE_URL
[15:53:26.391] [warn] - BETTER_AUTH_SECRET
[15:53:26.391] [warn] - BETTER_AUTH_URL
[15:53:26.391] [warn] - POLAR_ACCESS_TOKEN
[15:53:26.391] [warn] - POLAR_WEBHOOK_SECRET
[15:53:26.391] [warn] - GITHUB_CLIENT_ID
[15:53:26.391] [warn] - GITHUB_CLIENT_SECRET
[15:53:26.391] [warn] - DISCORD_CLIENT_ID
[15:53:26.391] [warn] - DISCORD_CLIENT_SECRET
[15:53:26.392] [warn] - GOOGLE_CLIENT_ID
[15:53:26.392] [warn] - GOOGLE_CLIENT_SECRET
[15:53:26.392] [warn] - BASE_API_URL
[15:53:26.392] [warn] - UNKEY_ROOT_API_KEY
[15:53:26.392] [warn] - UNKEY_API_ID
[15:53:26.394] ERROR run failed: command exited (1)
[15:53:26.395]
[15:53:26.395] Tasks: 0 successful, 1 total
[15:53:26.395] Cached: 0 cached, 1 total
[15:53:26.395] Time: 34.04s
[15:53:26.395] Summary: /vercel/path0/.turbo/runs/2zXiQz0dcPAutY0owno4YM1UzyC.json
[15:53:26.395] Failed: api#build
[15:53:26.395]
[15:53:26.407] Error: Command “turbo run build” exited with 1
[15:53:27.334]
[15:53:31.177] Exiting build container
“turbo”: “^2.5.4”,
“hono”: “^4.8.2”,
“next”: “15.3.4”,