An error occurred during deployment. Please fix:
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
},
Please merge the above fields into next.config.js config file.
I'll update the next.config.js file to include those configuration options:
The configuration has been updated to include:
eslint.ignoreDuringBuilds: true - This will skip ESLint checks during the build processtypescript.ignoreBuildErrors: true - This will ignore TypeScript errors during buildsimages.unoptimized: true - This will disable Next.js image optimization (merged with the existing images configuration)These settings should help resolve deployment issues by bypassing linting and type checking errors during the build process.
To configure the generation, complete these steps:
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 119 deployment files...
Running "vercel build"
Vercel CLI 46.0.2
Running "install" command: `bun install`...
bun install v1.2.20 (6ad208bc)
Resolving dependencies
Resolved, downloaded and extracted [1140]
warn: incorrect peer dependency "react@19.1.1"
warn: incorrect peer dependency "react-dom@19.1.1"
Saved lockfile
+ @types/node@22.17.2 (v24.3.0 available)
+ @types/react@19.1.10
+ @types/react-dom@19.1.7
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.12 available)
+ typescript@5.9.2
+ @emotion/is-prop-valid@1.3.1
+ @hookform/resolvers@3.10.0 (v5.2.1 available)
+ @radix-ui/react-accordion@1.2.2 (v1.2.12 available)
+ @radix-ui/react-alert-dialog@1.1.4 (v1.1.15 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.3 available)
+ @radix-ui/react-collapsible@1.1.2 (v1.1.12 available)
+ @radix-ui/react-context-menu@2.2.4 (v2.2.16 available)
+ @radix-ui/react-dialog@1.1.4 (v1.1.15 available)
+ @radix-ui/react-dropdown-menu@2.1.4 (v2.1.16 available)
+ @radix-ui/react-hover-card@1.1.4 (v1.1.15 available)
+ @radix-ui/react-label@2.1.1 (v2.1.7 available)
+ @radix-ui/react-menubar@1.1.4 (v1.1.16 available)
+ @radix-ui/react-navigation-menu@1.2.3 (v1.2.14 available)
+ @radix-ui/react-popover@1.1.4 (v1.1.15 available)
+ @radix-ui/react-progress@1.1.1 (v1.1.7 available)
+ @radix-ui/react-radio-group@1.2.2 (v1.3.8 available)
+ @radix-ui/react-scroll-area@1.2.2 (v1.2.10 available)
+ @radix-ui/react-select@2.1.4 (v2.2.6 available)
+ @radix-ui/react-separator@1.1.1 (v1.1.7 available)
+ @radix-ui/react-slider@1.2.2 (v1.3.6 available)
+ @radix-ui/react-slot@1.1.1 (v1.2.3 available)
+ @radix-ui/react-switch@1.1.2 (v1.2.6 available)
+ @radix-ui/react-tabs@1.1.2 (v1.1.13 available)
+ @radix-ui/react-toast@1.2.4 (v1.2.15 available)
+ @radix-ui/react-toggle@1.1.1 (v1.1.10 available)
+ @radix-ui/react-toggle-group@1.1.1 (v1.1.11 available)
+ @radix-ui/react-tooltip@1.1.6 (v1.2.8 available)
+ autoprefixer@10.4.21
+ 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.6.0
+ framer-motion@12.23.12
+ geist@1.4.2
+ input-otp@1.4.1 (v1.4.2 available)
+ lucide-react@0.454.0 (v0.540.0 available)
+ next@15.2.4 (v15.4.7 available)
+ next-themes@0.4.6
+ react@19.1.1
+ react-day-picker@9.8.0 (v9.9.0 available)
+ react-dom@19.1.1
+ react-hook-form@7.62.0
+ react-intersection-observer@9.16.0
+ react-resizable-panels@2.1.9 (v3.0.4 available)
+ recharts@3.1.2
+ sonner@1.7.4 (v2.0.7 available)
+ 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.17 available)
278 packages installed [8.81s]
Detected Next.js version: 15.2.4
Running "bun run build"
$ next build
⚠ Invalid next.config.js options detected:
⚠ Unrecognized key(s) in object: 'appDir' at "experimental"
⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
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 ...
I need to fix the next.config.js file by removing the deprecated experimental.appDir option, which is no longer needed in Next.js 15:
The changes made:
experimental.appDir: true - This option is no longer needed in Next.js 15 as the App Router is now stable and enabled by defaultThis should resolve the "Unrecognized key(s) in object: 'appDir' at 'experimental'" warning and allow the build to proceed successfully.
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 119 deployment files...
Running "vercel build"
Vercel CLI 46.0.2
Running "install" command: `bun install`...
bun install v1.2.20 (6ad208bc)
Resolving dependencies
Resolved, downloaded and extracted [1136]
warn: incorrect peer dependency "react@19.1.1"
warn: incorrect peer dependency "react-dom@19.1.1"
Saved lockfile
+ @types/node@22.17.2 (v24.3.0 available)
+ @types/react@19.1.10
+ @types/react-dom@19.1.7
+ postcss@8.5.6
+ tailwindcss@3.4.17 (v4.1.12 available)
+ typescript@5.9.2
+ @emotion/is-prop-valid@1.3.1
+ @hookform/resolvers@3.10.0 (v5.2.1 available)
+ @radix-ui/react-accordion@1.2.2 (v1.2.12 available)
+ @radix-ui/react-alert-dialog@1.1.4 (v1.1.15 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.3 available)
+ @radix-ui/react-collapsible@1.1.2 (v1.1.12 available)
+ @radix-ui/react-context-menu@2.2.4 (v2.2.16 available)
+ @radix-ui/react-dialog@1.1.4 (v1.1.15 available)
+ @radix-ui/react-dropdown-menu@2.1.4 (v2.1.16 available)
+ @radix-ui/react-hover-card@1.1.4 (v1.1.15 available)
+ @radix-ui/react-label@2.1.1 (v2.1.7 available)
+ @radix-ui/react-menubar@1.1.4 (v1.1.16 available)
+ @radix-ui/react-navigation-menu@1.2.3 (v1.2.14 available)
+ @radix-ui/react-popover@1.1.4 (v1.1.15 available)
+ @radix-ui/react-progress@1.1.1 (v1.1.7 available)
+ @radix-ui/react-radio-group@1.2.2 (v1.3.8 available)
+ @radix-ui/react-scroll-area@1.2.2 (v1.2.10 available)
+ @radix-ui/react-select@2.1.4 (v2.2.6 available)
+ @radix-ui/react-separator@1.1.1 (v1.1.7 available)
+ @radix-ui/react-slider@1.2.2 (v1.3.6 available)
+ @radix-ui/react-slot@1.1.1 (v1.2.3 available)
+ @radix-ui/react-switch@1.1.2 (v1.2.6 available)
+ @radix-ui/react-tabs@1.1.2 (v1.1.13 available)
+ @radix-ui/react-toast@1.2.4 (v1.2.15 available)
+ @radix-ui/react-toggle@1.1.1 (v1.1.10 available)
+ @radix-ui/react-toggle-group@1.1.1 (v1.1.11 available)
+ @radix-ui/react-tooltip@1.1.6 (v1.2.8 available)
+ autoprefixer@10.4.21
+ 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.6.0
+ framer-motion@12.23.12
+ geist@1.4.2
+ input-otp@1.4.1 (v1.4.2 available)
+ lucide-react@0.454.0 (v0.540.0 available)
+ next@15.2.4 (v15.4.7 available)
+ next-themes@0.4.6
+ react@19.1.1
+ react-day-picker@9.8.0 (v9.9.0 available)
+ react-dom@19.1.1
+ react-hook-form@7.62.0
+ react-intersection-observer@9.16.0
+ react-resizable-panels@2.1.9 (v3.0.4 available)
+ recharts@3.1.2
+ sonner@1.7.4 (v2.0.7 available)
+ 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.17 available)
276 packages installed [11.57s]
Detected Next.js version: 15.2.4
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 15.2.4
Creating an optimized production build ...
Failed to compile.
./app/about/page.tsx
Error: x `ssr: false` is not allowed with `next/dynamic` in Server Components. Please move it into a client component.
,-[/vercel/path1/app/about/page.tsx:5:1]
2 | import { Suspense } from "react"
3 | import { LoadingSpinner } from "@/components/ui/loading-spinner"
4 |
5 | ,-> const AboutPage = dynamic(() => import("@/components/AboutPage"), {
6 | | loading: () => <LoadingSpinner />,
7 | | ssr: false,
8 | `-> })
9 |
10 | export default function About() {
11 | return (
`----
Import trace for requested module:
./app/about/page.tsx
> Build failed because of webpack errors
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1