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 199 deployment files...
Running "vercel build"
Vercel CLI 44.6.4
Running "install" command: `bun install`...
bun install v1.2.19 (aad3abea)
Resolving dependencies
Resolved, downloaded and extracted [2520]
Saved lockfile
+ @types/node@22.17.0 (v24.1.0 available)
+ @types/react@19.1.9
+ @types/react-dom@19.1.7
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.11 available)
+ typescript@5.9.2
+ @aws-sdk/credential-providers@3.859.0
+ @emotion/is-prop-valid@1.3.1
+ @google/generative-ai@0.24.1
+ @headlessui/react@2.2.7
+ @heroicons/react@2.2.0
+ @hookform/resolvers@5.2.1
+ @mongodb-js/zstd@2.0.1
+ @radix-ui/react-accordion@1.2.11
+ @radix-ui/react-alert-dialog@1.1.14
+ @radix-ui/react-aspect-ratio@1.1.7
+ @radix-ui/react-avatar@1.1.10
+ @radix-ui/react-checkbox@1.3.2
+ @radix-ui/react-collapsible@1.1.11
+ @radix-ui/react-context-menu@2.2.15
+ @radix-ui/react-dialog@1.1.14
+ @radix-ui/react-dropdown-menu@2.1.15
+ @radix-ui/react-hover-card@1.1.14
+ @radix-ui/react-label@2.1.7
+ @radix-ui/react-menubar@1.1.15
+ @radix-ui/react-navigation-menu@1.2.13
+ @radix-ui/react-popover@1.1.14
+ @radix-ui/react-progress@1.1.7
+ @radix-ui/react-radio-group@1.3.7
+ @radix-ui/react-scroll-area@1.2.9
+ @radix-ui/react-select@2.2.5
+ @radix-ui/react-separator@1.1.7
+ @radix-ui/react-slider@1.3.5
+ @radix-ui/react-slot@1.2.3
+ @radix-ui/react-switch@1.2.5
+ @radix-ui/react-tabs@1.1.12
+ @radix-ui/react-toast@1.2.14
+ @radix-ui/react-toggle@1.1.9
+ @radix-ui/react-toggle-group@1.1.10
+ @radix-ui/react-tooltip@1.2.7
+ autoprefixer@10.4.21
+ axios@1.11.0
+ bcryptjs@3.0.2
+ class-variance-authority@0.7.1
+ clsx@2.1.1
+ cmdk@1.1.1
+ cors@2.8.5
+ date-fns@4.1.0
+ dotenv@17.2.1
+ embla-carousel-react@8.6.0
+ express@5.1.0
+ express-rate-limit@8.0.1
+ express-validator@7.2.1
+ firebase@12.0.0
+ framer-motion@12.23.12
+ gcp-metadata@7.0.1
+ geist@1.4.2
+ helmet@8.1.0
+ immer@10.1.1
+ input-otp@1.4.2
+ jsonwebtoken@9.0.2
+ kerberos@2.2.2
+ lucide-react@0.454.0 (v0.536.0 available)
+ mongodb@6.18.0
+ mongodb-client-encryption@6.4.0
+ mongoose@8.17.0
+ next@15.2.4 (v15.4.5 available)
+ next-themes@0.4.6
+ react@19.1.1
+ react-day-picker@9.8.1
+ react-dom@19.1.1
+ react-hook-form@7.62.0
+ react-hot-toast@2.5.2
+ react-resizable-panels@3.0.4
+ react-router-dom@7.7.1
+ recharts@3.1.0
+ snappy@7.3.0
+ socks@2.8.6
+ sonner@2.0.7
+ tailwind-merge@2.6.0 (v3.3.1 available)
+ tailwindcss-animate@1.0.7
+ use-sync-external-store@1.5.0
+ vaul@1.1.2
+ zod@3.25.76 (v4.0.14 available)
+ zustand@5.0.7
615 packages installed [14.93s]
Blocked 3 postinstalls. Run `bun pm untrusted` for details.
Detected Next.js version: 15.2.4
Running "bun run build"
$ next build
⚠ Invalid next.config.mjs 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.mjs file accordingly.
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 ...
Generating static pages (0/4) ...
Generating static pages (1/4)
Generating static pages (2/4)
Generating static pages (3/4)
✓ Generating static pages (4/4)
Finalizing page optimization ...
Collecting build traces ...
Route (app) Size First Load JS
┌ ○ / 48.2 kB 162 kB
└ ○ /_not-found 977 B 101 kB
+ First Load JS shared by all 100 kB
├ chunks/4bd1b696-db971fca1f9e0010.js 53.2 kB
├ chunks/684-64644b3e0977cc6a.js 45.3 kB
└ other shared chunks (total) 1.9 kB
○ (Static) prerendered as static content
Traced Next.js server files in: 104.161ms
Created all serverless functions in: 93.317ms
Collected static files (public/, static/, .next/static): 6.427ms
Installing dependencies...
bun install v1.2.19 (aad3abea)
Checked 637 installs across 659 packages (no changes) [34.00ms]
Using TypeScript 5.9.2 (local user-provided)
api/auth/signin/route.ts(12,71): error TS18048: 'validation.error' is possibly 'undefined'.
api/auth/signin/route.ts(12,88): error TS2339: Property 'errors' does not exist on type 'string'.
api/auth/signin/route.ts(15,44): error TS2339: Property 'data' does not exist on type '{ success: boolean; error?: undefined; } | { success: boolean; error: string; }'.
Property 'data' does not exist on type '{ success: boolean; error?: undefined; }'.
Using TypeScript 5.9.2 (local user-provided)
api/auth/signup/route.ts(12,71): error TS18048: 'validation.error' is possibly 'undefined'.
api/auth/signup/route.ts(12,88): error TS2339: Property 'errors' does not exist on type 'string'.
api/auth/signup/route.ts(15,50): error TS2339: Property 'data' does not exist on type '{ success: boolean; error?: undefined; } | { success: boolean; error: string; }'.
Property 'data' does not exist on type '{ success: boolean; error?: undefined; }'.
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
api/health/mongodb/route.ts(2,8): error TS1192: Module '"/vercel/path1/lib/mongodb"' has no default export.
Using TypeScript 5.9.2 (local user-provided)
api/mood/checkin/route.ts(4,10): error TS2305: Module '"@/lib/validations"' has no exported member 'moodSchema'.
api/mood/checkin/route.ts(30,7): error TS2554: Expected 3 arguments, but got 4.
Using TypeScript 5.9.2 (local user-provided)
api/quiz/generate/route.ts(147,46): error TS2554: Expected 1 arguments, but got 3.
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
api/ai/route.ts(2,17): error TS7016: Could not find a declaration file for module 'jsonwebtoken'. '/vercel/path1/node_modules/jsonwebtoken/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsonwebtoken` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsonwebtoken';`
Using TypeScript 5.9.2 (local user-provided)
api/auth/route.ts(3,17): error TS7016: Could not find a declaration file for module 'jsonwebtoken'. '/vercel/path1/node_modules/jsonwebtoken/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsonwebtoken` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsonwebtoken';`
Using TypeScript 5.9.2 (local user-provided)
api/chat/route.ts(24,58): error TS2554: Expected 1 arguments, but got 2.
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
api/data/route.ts(2,17): error TS7016: Could not find a declaration file for module 'jsonwebtoken'. '/vercel/path1/node_modules/jsonwebtoken/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsonwebtoken` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsonwebtoken';`
Using TypeScript 5.9.2 (local user-provided)
Using TypeScript 5.9.2 (local user-provided)
api/mood-analysis/route.ts(33,7): error TS2353: Object literal may only specify known properties, and 'energy' does not exist in type 'any[]'.
Using TypeScript 5.9.2 (local user-provided)
api/quiz/route.ts(2,17): error TS7016: Could not find a declaration file for module 'jsonwebtoken'. '/vercel/path1/node_modules/jsonwebtoken/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsonwebtoken` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsonwebtoken';`
Using TypeScript 5.9.2 (local user-provided)
Build Completed in /vercel/output [1m]
Deploying outputs...
Error: No more than 12 Serverless Functions can be added to a Deployment on the Hobby plan. Create a team (Pro plan) to deploy more. Learn More: https://vercel.link/function-count-limit