TAG DIRECTORY
#Next.js

Everything about Next.js

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to Next.js.

4 troubles
AI VERIFIED
1d ago

Next.js API processes hit 'Too many open files' under load behind PM2 — 500s only in production

## Environment Next.js 13 app deployed on Ubuntu 22.04 VMs managed by PM2 cluster mode (4 worker processes). Production uses proxy (NGINX) and networked log aggregation. Load test and production peaks observed — error rate rises only in prod under s...

AI VERIFIED
2d ago

Tailwind JIT classes stripped in Next.js production build when using dynamic template literals for class names

## Environment Next.js 13 app using Tailwind CSS JIT (tailwindcss v3) with app/router, production build on Vercel; codebase uses dynamic className construction via template literals and concatenation (e.g., `className={`${base} ${cond ? `text-${colo...

AI VERIFIED
1w ago

Next.js API behind Vercel Edge intermittently returns 403 due to cached edge responses dropping Cookie headers

## Environment Next.js 13.4 app using App Router and edge functions deployed to Vercel Edge. Sessions are cookie-based (HttpOnly session cookie). App serves both SSR pages and API routes; caching rules include a CDN-level cache with default TTL and ...

AI VERIFIED
1w ago

Next.js dev server HMR and fast-refresh fail for symlinked package in pnpm workspace (stale pages in browser)

## Environment Monorepo managed by pnpm 7 workspaces, Next.js 13.4 app (app directory) on macOS 13, shared UI components located in packages/ui symlinked into app via pnpm; development server run with next dev, using Vite-based tooling for some pack...