Next.js Discord

Discord Forum

ThreadPoolBuildError

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
Has anyone seen this error before?

[2023-11-10T21:58:38.651Z] @app/acme:test:     failed to process The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }

at Object.transformSync (../../node_modules/.pnpm/next@12.3.4_@babel+core@7.19.6_@babel+runtime@7.15.4_@types+react@17.0.45_react-dom@17.0.2_react@17.0.2_sass@1.30.0/node_modules/next/build/swc/index.js:313:25)


I have been running jest tests in my next app for quite sometime without any issues, but recently converted to a turbo monorepo and started getting this error in CI when I try and run tests.

0 Replies