Next.js Discord

Discord Forum

How to debug uncaughtException [Error: kill EPERM] { errno: -4048, code: 'EPERM', syscall: 'kill' }?

Unanswered
Whiteleg shrimp posted this in #help-forum
Open in Discord
Whiteleg shrimpOP
next build --turbopack

▲ Next.js 15.4.6 (Turbopack)
- Environments: .env
- Experiments (use with caution):
✓ devtoolNewPanelUI
✓ devtoolSegmentExplorer

Creating an optimized production build ...
⚠ Webpack is configured while Turbopack is not, which may cause problems.
⚠ See instructions if you need to configure Turbopack:
https://nextjs.org/docs/app/api-reference/next-config-js/turbopack

✓ Finished writing to disk in 509ms
✓ Compiled successfully in 19.2s
uncaughtException [Error: kill EPERM] { errno: -4048, code: 'EPERM', syscall: 'kill' }

Deleting .next didn't work
Deleting node_modules didn't work

Using pnpm 10.12.1 and Next 15.4.6

0 Replies