Next.js Discord

Discord Forum

Jest worker error on run "npm run build"

Unanswered
Jose posted this in #help-forum
Open in Discord
When I run "npm run build" I get the error below. What could be the cause or how can I get more information about it? I recently added the firebase library for authentication (I don't know if it could be related).

Build error occurred
Error: Jest worker encountered 4 child process exceptions, exceeding retry limit
at ChildProcessWorker.initialize (/home/jose/desktop/app/node_modules/next/dist/compiled/jest-worker/index.js:1:11580)
at ChildProcessWorker._onExit (/home/jose/desktop/app/node_modules/next/dist/compiled/jest-worker/index.js:1:12545)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
type: 'WorkerError'
}
Generating static pages (10/11) [ ]

0 Replies