An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 2 cores, 8 GB
Retrieving list of deployment files...
Previous build caches not available
Downloading 113 deployment files...
Running "vercel build"
Vercel CLI 44.3.0
Running "install" command: `bun install`...
bun install v1.2.18 (0d4089ea)
Resolving dependencies
Resolved, downloaded and extracted [1980]
warn: incorrect peer dependency "date-fns@4.1.0"
Saved lockfile
+ @types/node@22.16.4 (v24.0.14 available)
+ @types/react@18.3.23 (v19.1.8 available)
+ @types/react-dom@18.3.7 (v19.1.6 available)
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.11 available)
+ typescript@5.8.3
+ @apollo/client@3.13.8
+ @apollo/server@4.12.2
+ @as-integrations/next@3.2.0
+ @auth/core@0.40.0
+ @auth/prisma-adapter@2.10.0
+ @fullcalendar/core@6.1.18
+ @fullcalendar/daygrid@6.1.18
+ @fullcalendar/interaction@6.1.18
+ @fullcalendar/react@6.1.18
+ @fullcalendar/timegrid@6.1.18
+ @hookform/resolvers@3.10.0 (v5.1.1 available)
+ @prisma/client@6.11.1
+ @radix-ui/react-accordion@1.2.2 (v1.2.11 available)
+ @radix-ui/react-alert-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-aspect-ratio@1.1.1 (v1.1.7 available)
+ @radix-ui/react-avatar@1.1.2 (v1.1.10 available)
+ @radix-ui/react-checkbox@1.1.3 (v1.3.2 available)
+ @radix-ui/react-collapsible@1.1.2 (v1.1.11 available)
+ @radix-ui/react-context-menu@2.2.4 (v2.2.15 available)
+ @radix-ui/react-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-dropdown-menu@2.1.4 (v2.1.15 available)
+ @radix-ui/react-hover-card@1.1.4 (v1.1.14 available)
+ @radix-ui/react-label@2.1.1 (v2.1.7 available)
+ @radix-ui/react-menubar@1.1.4 (v1.1.15 available)
+ @radix-ui/react-navigation-menu@1.2.3 (v1.2.13 available)
+ @radix-ui/react-popover@1.1.4 (v1.1.14 available)
+ @radix-ui/react-progress@1.1.1 (v1.1.7 available)
+ @radix-ui/react-radio-group@1.2.2 (v1.3.7 available)
+ @radix-ui/react-scroll-area@1.2.2 (v1.2.9 available)
+ @radix-ui/react-select@2.1.4 (v2.2.5 available)
+ @radix-ui/react-separator@1.1.7
+ @radix-ui/react-slider@1.2.2 (v1.3.5 available)
+ @radix-ui/react-slot@1.1.1 (v1.2.3 available)
+ @radix-ui/react-switch@1.1.2 (v1.2.5 available)
+ @radix-ui/react-tabs@1.1.2 (v1.1.12 available)
+ @radix-ui/react-toast@1.2.4 (v1.2.14 available)
+ @radix-ui/react-toggle@1.1.1 (v1.1.9 available)
+ @radix-ui/react-toggle-group@1.1.1 (v1.1.10 available)
+ @radix-ui/react-tooltip@1.1.6 (v1.2.7 available)
+ autoprefixer@10.4.21
+ bcryptjs@3.0.2
+ class-variance-authority@0.7.1
+ clsx@2.1.1
+ cmdk@1.0.4 (v1.1.1 available)
+ date-fns@4.1.0
+ embla-carousel-react@8.5.1 (v8.6.0 available)
+ googleapis@152.0.0
+ graphql@16.11.0
+ graphql-tag@2.12.6
+ graphql-ws@6.0.6
+ input-otp@1.4.1 (v1.4.2 available)
+ jsonwebtoken@9.0.2
+ lucide-react@0.454.0 (v0.525.0 available)
+ next@14.2.16 (v15.4.1 available)
+ next-auth@4.24.11
+ next-themes@0.4.6
+ nodemailer@7.0.5
+ prisma@6.11.1
+ react@18.3.1 (v19.1.0 available)
+ react-day-picker@8.10.1 (v9.8.0 available)
+ react-dom@18.3.1 (v19.1.0 available)
+ react-hook-form@7.60.0
+ react-resizable-panels@2.1.9 (v3.0.3 available)
+ recharts@3.1.0
+ sonner@1.7.4 (v2.0.6 available)
+ subscriptions-transport-ws@0.11.0
+ tailwind-merge@2.6.0 (v3.3.1 available)
+ tailwindcss-animate@1.0.7
+ vaul@0.9.9 (v1.1.2 available)
+ zod@3.25.76 (v4.0.5 available)
506 packages installed [17.83s]
Detected Next.js version: 14.2.16
Running "bun run build"
$ next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
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:
https://nextjs.org/telemetry
▲ Next.js 14.2.16
Creating an optimized production build ...
✓ Compiled successfully
Skipping validation of types
Skipping linting
Collecting page data ...
Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
PrismaClientInitializationError: Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
at cl (/vercel/path1/node_modules/@prisma/client/runtime/library.js:33:69)
at new r (/vercel/path1/node_modules/@prisma/client/runtime/library.js:130:943)
at 81643 (/vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:2947)
at t (/vercel/path1/.next/server/webpack-runtime.js:1:143)
at /vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:2065
at t.a (/vercel/path1/.next/server/webpack-runtime.js:1:918)
at 16910 (/vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:1987)
at t (/vercel/path1/.next/server/webpack-runtime.js:1:143)
at /vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:1885
at t.a (/vercel/path1/.next/server/webpack-runtime.js:1:918) {
clientVersion: '6.11.1',
errorCode: undefined,
retryable: undefined
}
> Build error occurred
Error: Failed to collect page data for /api/auth/[...nextauth]
at /vercel/path1/node_modules/next/dist/build/utils.js:1268:15
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
type: 'Error'
}
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
Exiting build container
Prisma Client still isn’t being regenerated because bun install does not run postinstall scripts.
Run prisma generate inside the build step instead.
This guarantees Prisma Client is regenerated every build, eliminating the PrismaClientInitializationError.
Commit & redeploy — the build should now pass.
An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 2 cores, 8 GB
Retrieving list of deployment files...
Previous build caches not available
Downloading 113 deployment files...
Running "vercel build"
Vercel CLI 44.3.0
Running "install" command: `bun install`...
bun install v1.2.18 (0d4089ea)
Resolving dependencies
Resolved, downloaded and extracted [1976]
warn: incorrect peer dependency "date-fns@4.1.0"
Saved lockfile
+ @types/node@22.16.4 (v24.0.14 available)
+ @types/react@18.3.23 (v19.1.8 available)
+ @types/react-dom@18.3.7 (v19.1.6 available)
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.11 available)
+ typescript@5.8.3
+ @apollo/client@3.13.8
+ @apollo/server@4.12.2
+ @as-integrations/next@3.2.0
+ @auth/core@0.40.0
+ @auth/prisma-adapter@2.10.0
+ @fullcalendar/core@6.1.18
+ @fullcalendar/daygrid@6.1.18
+ @fullcalendar/interaction@6.1.18
+ @fullcalendar/react@6.1.18
+ @fullcalendar/timegrid@6.1.18
+ @hookform/resolvers@3.10.0 (v5.1.1 available)
+ @prisma/client@6.11.1
+ @radix-ui/react-accordion@1.2.2 (v1.2.11 available)
+ @radix-ui/react-alert-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-aspect-ratio@1.1.1 (v1.1.7 available)
+ @radix-ui/react-avatar@1.1.2 (v1.1.10 available)
+ @radix-ui/react-checkbox@1.1.3 (v1.3.2 available)
+ @radix-ui/react-collapsible@1.1.2 (v1.1.11 available)
+ @radix-ui/react-context-menu@2.2.4 (v2.2.15 available)
+ @radix-ui/react-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-dropdown-menu@2.1.4 (v2.1.15 available)
+ @radix-ui/react-hover-card@1.1.4 (v1.1.14 available)
+ @radix-ui/react-label@2.1.1 (v2.1.7 available)
+ @radix-ui/react-menubar@1.1.4 (v1.1.15 available)
+ @radix-ui/react-navigation-menu@1.2.3 (v1.2.13 available)
+ @radix-ui/react-popover@1.1.4 (v1.1.14 available)
+ @radix-ui/react-progress@1.1.1 (v1.1.7 available)
+ @radix-ui/react-radio-group@1.2.2 (v1.3.7 available)
+ @radix-ui/react-scroll-area@1.2.2 (v1.2.9 available)
+ @radix-ui/react-select@2.1.4 (v2.2.5 available)
+ @radix-ui/react-separator@1.1.7
+ @radix-ui/react-slider@1.2.2 (v1.3.5 available)
+ @radix-ui/react-slot@1.1.1 (v1.2.3 available)
+ @radix-ui/react-switch@1.1.2 (v1.2.5 available)
+ @radix-ui/react-tabs@1.1.2 (v1.1.12 available)
+ @radix-ui/react-toast@1.2.4 (v1.2.14 available)
+ @radix-ui/react-toggle@1.1.1 (v1.1.9 available)
+ @radix-ui/react-toggle-group@1.1.1 (v1.1.10 available)
+ @radix-ui/react-tooltip@1.1.6 (v1.2.7 available)
+ autoprefixer@10.4.21
+ bcryptjs@3.0.2
+ class-variance-authority@0.7.1
+ clsx@2.1.1
+ cmdk@1.0.4 (v1.1.1 available)
+ date-fns@4.1.0
+ embla-carousel-react@8.5.1 (v8.6.0 available)
+ googleapis@152.0.0
+ graphql@16.11.0
+ graphql-tag@2.12.6
+ graphql-ws@6.0.6
+ input-otp@1.4.1 (v1.4.2 available)
+ jsonwebtoken@9.0.2
+ lucide-react@0.454.0 (v0.525.0 available)
+ next@14.2.16 (v15.4.1 available)
+ next-auth@4.24.11
+ next-themes@0.4.6
+ nodemailer@7.0.5
+ prisma@6.11.1
+ react@18.3.1 (v19.1.0 available)
+ react-day-picker@8.10.1 (v9.8.0 available)
+ react-dom@18.3.1 (v19.1.0 available)
+ react-hook-form@7.60.0
+ react-resizable-panels@2.1.9 (v3.0.3 available)
+ recharts@3.1.0
+ sonner@1.7.4 (v2.0.6 available)
+ subscriptions-transport-ws@0.11.0
+ tailwind-merge@2.6.0 (v3.3.1 available)
+ tailwindcss-animate@1.0.7
+ vaul@0.9.9 (v1.1.2 available)
+ zod@3.25.76 (v4.0.5 available)
504 packages installed [18.39s]
Detected Next.js version: 14.2.16
Running "bun run build"
$ next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
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:
https://nextjs.org/telemetry
▲ Next.js 14.2.16
Creating an optimized production build ...
request to https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap failed, reason:
Retrying 1/3...
✓ Compiled successfully
Skipping validation of types
Skipping linting
Collecting page data ...
Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
PrismaClientInitializationError: Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
at cl (/vercel/path1/node_modules/@prisma/client/runtime/library.js:33:69)
at new r (/vercel/path1/node_modules/@prisma/client/runtime/library.js:130:943)
at 81643 (/vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:2947)
at t (/vercel/path1/.next/server/webpack-runtime.js:1:143)
at /vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:2065
at t.a (/vercel/path1/.next/server/webpack-runtime.js:1:918)
at 16910 (/vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:1987)
at t (/vercel/path1/.next/server/webpack-runtime.js:1:143)
at /vercel/path1/.next/server/app/api/auth/[...nextauth]/route.js:1:1885
at t.a (/vercel/path1/.next/server/webpack-runtime.js:1:918) {
clientVersion: '6.11.1',
errorCode: undefined,
retryable: undefined
}
> Build error occurred
Error: Failed to collect page data for /api/auth/[...nextauth]
at /vercel/path1/node_modules/next/dist/build/utils.js:1268:15
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
type: 'Error'
}
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
Exiting build container
The build command Vercel actually runs is vercel-build (if it exists), otherwise it falls back to build.
Add a vercel-build script that runs prisma generate before next build.
With vercel-build present, Vercel will execute it instead of plain next build, guaranteeing Prisma Client is regenerated even when bun install skips postinstall.
Commit & redeploy—this removes the PrismaClientInitializationError and the build should succeed.
An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 2 cores, 8 GB
Retrieving list of deployment files...
Previous build caches not available
Downloading 113 deployment files...
Running "vercel build"
Vercel CLI 44.3.0
Running "install" command: `bun install`...
bun install v1.2.18 (0d4089ea)
Resolving dependencies
Resolved, downloaded and extracted [2042]
warn: incorrect peer dependency "react@19.1.0"
warn: incorrect peer dependency "date-fns@4.1.0"
warn: incorrect peer dependency "react@19.1.0"
warn: incorrect peer dependency "react-dom@19.1.0"
Saved lockfile
+ @types/node@22.16.4 (v24.0.14 available)
+ @types/react@19.1.8
+ @types/react-dom@19.1.6
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.11 available)
+ typescript@5.8.3
+ @apollo/client@3.13.8
+ @apollo/server@4.12.2
+ @as-integrations/next@3.2.0
+ @auth/core@0.40.0
+ @auth/prisma-adapter@2.10.0
+ @fullcalendar/core@6.1.18
+ @fullcalendar/daygrid@6.1.18
+ @fullcalendar/interaction@6.1.18
+ @fullcalendar/react@6.1.18
+ @fullcalendar/timegrid@6.1.18
+ @hookform/resolvers@3.10.0 (v5.1.1 available)
+ @prisma/client@6.11.1
+ @radix-ui/react-accordion@1.2.2 (v1.2.11 available)
+ @radix-ui/react-alert-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-aspect-ratio@1.1.1 (v1.1.7 available)
+ @radix-ui/react-avatar@1.1.2 (v1.1.10 available)
+ @radix-ui/react-checkbox@1.1.3 (v1.3.2 available)
+ @radix-ui/react-collapsible@1.1.2 (v1.1.11 available)
+ @radix-ui/react-context-menu@2.2.4 (v2.2.15 available)
+ @radix-ui/react-dialog@1.1.4 (v1.1.14 available)
+ @radix-ui/react-dropdown-menu@2.1.4 (v2.1.15 available)
+ @radix-ui/react-hover-card@1.1.4 (v1.1.14 available)
+ @radix-ui/react-label@2.1.1 (v2.1.7 available)
+ @radix-ui/react-menubar@1.1.4 (v1.1.15 available)
+ @radix-ui/react-navigation-menu@1.2.3 (v1.2.13 available)
+ @radix-ui/react-popover@1.1.4 (v1.1.14 available)
+ @radix-ui/react-progress@1.1.1 (v1.1.7 available)
+ @radix-ui/react-radio-group@1.2.2 (v1.3.7 available)
+ @radix-ui/react-scroll-area@1.2.2 (v1.2.9 available)
+ @radix-ui/react-select@2.1.4 (v2.2.5 available)
+ @radix-ui/react-separator@1.1.7
+ @radix-ui/react-slider@1.2.2 (v1.3.5 available)
+ @radix-ui/react-slot@1.1.1 (v1.2.3 available)
+ @radix-ui/react-switch@1.1.2 (v1.2.5 available)
+ @radix-ui/react-tabs@1.1.2 (v1.1.12 available)
+ @radix-ui/react-toast@1.2.4 (v1.2.14 available)
+ @radix-ui/react-toggle@1.1.1 (v1.1.9 available)
+ @radix-ui/react-toggle-group@1.1.1 (v1.1.10 available)
+ @radix-ui/react-tooltip@1.1.6 (v1.2.7 available)
+ autoprefixer@10.4.21
+ bcryptjs@3.0.2
+ class-variance-authority@0.7.1
+ clsx@2.1.1
+ cmdk@1.0.4 (v1.1.1 available)
+ date-fns@4.1.0
+ embla-carousel-react@8.5.1 (v8.6.0 available)
+ googleapis@152.0.0
+ graphql@16.11.0
+ graphql-tag@2.12.6
+ graphql-ws@6.0.6
+ input-otp@1.4.1 (v1.4.2 available)
+ jsonwebtoken@9.0.2
+ lucide-react@0.454.0 (v0.525.0 available)
+ next@15.2.4 (v15.4.1 available)
+ next-auth@4.24.11
+ next-themes@0.4.6
+ nodemailer@7.0.5
+ prisma@6.11.1
+ react@19.1.0
+ react-day-picker@8.10.1 (v9.8.0 available)
+ react-dom@19.1.0
+ react-hook-form@7.60.0
+ react-resizable-panels@2.1.9 (v3.0.3 available)
+ recharts@3.1.0
+ sonner@1.7.4 (v2.0.6 available)
+ subscriptions-transport-ws@0.11.0
+ tailwind-merge@2.6.0 (v3.3.1 available)
+ tailwindcss-animate@1.0.7
+ vaul@0.9.9 (v1.1.2 available)
+ zod@3.25.76 (v4.0.5 available)
513 packages installed [19.61s]
Detected Next.js version: 15.2.4
Running "bun run build"
$ next build
⚠ Invalid next.config.js options detected:
⚠ Unrecognized key(s) in object: 'serverComponentsExternalPackages' at "experimental"
⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
⚠ `experimental.serverComponentsExternalPackages` has been moved to `serverExternalPackages`. Please update your next.config.js file accordingly.
⚠ i18n configuration in next.config.js is unsupported in App Router.
Learn more about internationalization in App Router: https://nextjs.org/docs/app/building-your-application/routing/internationalization
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
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:
https://nextjs.org/telemetry
▲ Next.js 15.2.4
Creating an optimized production build ...
✓ Compiled successfully
Skipping validation of types
Skipping linting
Collecting page data ...
Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
Error [PrismaClientInitializationError]: Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Learn how: https://pris.ly/d/vercel-build
at 37740 (.next/server/app/api/auth/[...nextauth]/route.js:1:4374)
at t (.next/server/webpack-runtime.js:1:143)
at <unknown> (.next/server/app/api/auth/[...nextauth]/route.js:1:4570)
at t.a (.next/server/webpack-runtime.js:1:918)
at 41098 (.next/server/app/api/auth/[...nextauth]/route.js:1:4492)
at t (.next/server/webpack-runtime.js:1:143)
at <unknown> (.next/server/app/api/auth/[...nextauth]/route.js:1:6187)
at t.a (.next/server/webpack-runtime.js:1:918) {
clientVersion: '6.11.1',
errorCode: undefined,
retryable: undefined
}
> Build error occurred
[Error: Failed to collect page data for /api/auth/[...nextauth]] {
type: 'Error'
}
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
Exiting build container