I tried to deploy a project and it gave the following errors
[15:33:52.080] Running build in Washington, D.C., USA (East) – iad1
[15:33:52.080] Build machine configuration: 2 cores, 8 GB
[15:33:52.095] Cloning github.com/UmairFaiser/umairfaiser.me (Branch: master, Commit: 60d1dc0)
[15:33:52.279] Previous build caches not available
[15:33:53.622] Cloning completed: 1.527s
[15:33:54.062] Running "vercel build"
[15:33:54.507] Vercel CLI 43.3.0
[15:33:54.901] Detected `pnpm-lock.yaml` 9 which may be generated by pnpm@9.x or pnpm@10.x
[15:33:54.901] Using pnpm@10.x based on project creation date
[15:33:54.902] To use pnpm@9.x, manually opt in using corepack (https://vercel.com/docs/deployments/configure-a-build#corepack)
[15:33:54.928] Installing dependencies...
[15:33:55.584] Lockfile is up to date, resolution step is skipped
[15:33:55.654] Progress: resolved 1, reused 0, downloaded 0, added 0
[15:33:55.726] Packages: +414
[15:33:55.727] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[15:33:56.682] Progress: resolved 414, reused 0, downloaded 8, added 0
[15:33:57.683] Progress: resolved 414, reused 0, downloaded 15, added 0
[15:33:58.789] Progress: resolved 414, reused 0, downloaded 16, added 0
[15:33:59.789] Progress: resolved 414, reused 0, downloaded 23, added 4
[15:34:00.792] Progress: resolved 414, reused 0, downloaded 42, added 8
[15:34:01.793] Progress: resolved 414, reused 0, downloaded 62, added 15
[15:34:02.793] Progress: resolved 414, reused 0, downloaded 93, added 23
[15:34:03.795] Progress: resolved 414, reused 0, downloaded 148, added 46
[15:34:04.797] Progress: resolved 414, reused 0, downloaded 310, added 110
[15:34:05.798] Progress: resolved 414, reused 0, downloaded 414, added 172
[15:34:06.700] Progress: resolved 414, reused 0, downloaded 414, added 414, done
[15:34:06.938]
[15:34:06.939] dependencies:
[15:34:06.939] + @heroicons/react 2.2.0
[15:34:06.939] + @next/third-parties 15.3.3
[15:34:06.940] + @radix-ui/react-dialog 1.1.14
[15:34:06.940] + @radix-ui/react-dropdown-menu 2.1.15
[15:34:06.940] + @radix-ui/react-hover-card 1.1.14
[15:34:06.940] + @react-email/components 0.0.36
[15:34:06.940] + @upstash/redis 1.35.0
[15:34:06.940] + @vercel/analytics 1.5.0
[15:34:06.940] + @vercel/speed-insights 1.2.0
[15:34:06.941] + clsx 2.1.1
[15:34:06.941] + cmdk 1.1.1
[15:34:06.941] + geist 1.4.2
[15:34:06.941] + next 15.3.3
[15:34:06.941] + next-mdx-remote 5.0.0
[15:34:06.941] + next-themes 0.4.6
[15:34:06.941] + next-view-transitions 0.3.4
[15:34:06.942] + numeral 2.0.6
[15:34:06.942] + react 19.1.0
[15:34:06.942] + react-dom 19.1.0
[15:34:06.942] + react-email 4.0.16
[15:34:06.943] + react-tweet 3.2.2
[15:34:06.943] + remark-gfm 4.0.1
[15:34:06.943] + resend 4.6.0
[15:34:06.943] + shiki 3.6.0
[15:34:06.943] + sonner 2.0.5
[15:34:06.943] + swr 2.3.3
[15:34:06.943] + tailwind-merge 3.3.1
[15:34:06.944] + vaul 1.1.2
[15:34:06.944]
[15:34:06.944] devDependencies:
[15:34:06.944] + @tailwindcss/postcss 4.1.10
[15:34:06.944] + @tailwindcss/typography 0.5.16
[15:34:06.944] + postcss 8.5.6
[15:34:06.945] + tailwindcss 4.1.10
[15:34:06.945] + tw-animate-css 1.3.4
[15:34:06.945]
[15:34:06.945] ╭ Warning ─────────────────────────────────────────────────────────────────────╮
[15:34:06.945] │ │
[15:34:06.945] │ Ignored build scripts: @tailwindcss/oxide, @vercel/speed-insights, │
[15:34:06.945] │ esbuild, sharp. │
[15:34:06.945] │ Run "pnpm approve-builds" to pick which dependencies should be allowed │
[15:34:06.946] │ to run scripts. │
[15:34:06.946] │ │
[15:34:06.946] ╰──────────────────────────────────────────────────────────────────────────────╯
[15:34:06.946]
[15:34:06.968] Done in 11.9s using pnpm v10.12.4
[15:34:06.989] Detected Next.js version: 15.3.3
[15:34:07.005] Running "pnpm run build"
[15:34:07.287]
[15:34:07.287] > UmairFaiser@0.1.0 build /vercel/path0
[15:34:07.287] > next build
[15:34:07.287]
[15:34:07.934] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[15:34:07.935] This information is used to shape Next.js' roadmap and prioritize features.
[15:34:07.935] 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:34:07.935] https://nextjs.org/telemetry
[15:34:07.935]
[15:34:07.993] ▲ Next.js 15.3.3
[15:34:07.994]
[15:34:08.062] Creating an optimized production build ...
[15:34:34.915] ✓ Compiled successfully in 23.0s
[15:34:34.921] Linting and checking validity of types ...
[15:34:35.041] Collecting page data ...
[15:34:36.147] ⚠ Using edge runtime on a page currently disables static generation for that page
[15:34:36.165] [Upstash Redis] The 'url' property is missing or undefined in your Redis config.
[15:34:36.165] [Upstash Redis] The 'token' property is missing or undefined in your Redis config.
[15:34:38.498] Generating static pages (0/41) ...
[15:34:40.608] Error occurred prerendering page "/blog/linear-issue-tracker". Read more: https://nextjs.org/docs/messages/prerender-error
[15:34:40.609] Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
[15:34:40.610] Export encountered an error on /blog/[slug]/page: /blog/linear-issue-tracker, exiting the build.
[15:34:40.625] ⨯ Next.js build worker exited with code: 1 and signal: null
[15:34:40.658] ELIFECYCLE Command failed with exit code 1.
[15:34:40.676] Error: Command "pnpm run build" exited with 1
[15:34:42.303]
[15:34:45.245] Exiting build container
But when i ran npm run build
locally it doest throw any errors this is the output when i ran npm run build
locally
npm run build
PS C:\Users\Administrator\OneDrive\Desktop\raulcarini.com-v2> npm run build
> UmairFaiser@0.1.0 build
> next build
▲ Next.js 15.3.4
- Environments: .env.local
Creating an optimized production build ...
✓ Compiled successfully in 9.0s
✓ Linting and checking validity of types
⚠ Using edge runtime on a page currently disables static generation for that page
✓ Collecting page data
✓ Generating static pages (41/41)
✓ Collecting build traces
✓ Finalizing page optimization
Route (app) Size First Load JS
┌ ○ / 5.3 kB 154 kB
├ ○ /_not-found 977 B 102 kB
├ ƒ /api/dynamic-og 144 B 101 kB
├ ƒ /api/views/[path] 144 B 101 kB
├ ● /blog/[slug] 17.4 kB 167 kB
├ ├ /blog/ai-price-vs-intelligence
├ ├ /blog/built-in-ai-with-chrome
├ ├ /blog/dynamic-social-images-with-nextjs
├ └ [+26 more paths]
├ ○ /blog/categories 614 B 121 kB
├ ● /blog/categories/[category] 614 B 121 kB
├ ├ /blog/categories/article
├ ├ /blog/categories/project
├ └ /blog/categories/update
├ ○ /projects 185 B 111 kB
├ ○ /robots.txt 144 B 101 kB
└ ○ /sitemap.xml 144 B 101 kB
+ First Load JS shared by all 101 kB
├ chunks/4bd1b696-f7618c54a2e9ab7b.js 53.2 kB
├ chunks/684-d7efb3f1c6158212.js 45.9 kB
└ other shared chunks (total) 2.01 kB
○ (Static) prerendered as static content
● (SSG) prerendered as static HTML (uses generateStaticParams)
ƒ (Dynamic) server-rendered on demand
i tried the same with pnpm run build
aswell got the same result.
where is it going wring what do i need to fix.Can someone help me debug this please