npm run build
[email protected] build
next build
▲ Next.js 14.1.4
- Environments: .env
Creating an optimized production build ...
Compiler server unexpectedly exited with code: 3221225725 and signal: null
Build error occurred
Error: Jest worker encountered 1 child process exceptions, exceeding retry limit
at ChildProcessWorker.initialize (F:\Personal\next-auth\node_modules\next\dist\compiled\jest-worker\index.js:1:11580)
at ChildProcessWorker._onExit (F:\Personal\next-auth\node_modules\next\dist\compiled\jest-worker\index.js:1:12545)
at ChildProcess.emit (node:events:526:35)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
type: 'WorkerError'
}
i using mysql2 and drizzle to create some auth project. It work fine when i run dev, but i happen when i run build
and when i deploy to vercel it work but it crack because Edge Function