Repository navigation
Turbopack Error: Failed to write app endpoint /roles/project-officer/page #98290
Replies: 2 comments
|
My application was working properly, but I suddenly encountered this unexpected error and I'm unsure what caused it. Error TypeRuntime Error Error MessageAn unexpected Turbopack error occurred. Please see the output of Next.js version: 16.3.3 (Turbopack) |
|
This looks like a Turbopack bundling issue rather than an application runtime error. The important part is that node:timers/promises is being pulled into the app endpoint client chunk, where that Node-only module cannot be externalized. I would try these checks in order:
If removing the import from the client graph fixes it, the underlying problem is the server/client boundary. If it still fails with a minimal server-only route, that is a useful Turbopack regression report, and the reduced reproduction should be attached to the issue. |
Uh oh!
There was an error while loading. Please reload this page.
Turbopack version:
a9a1cb78Next.js version:
0.0.0Error message:
All reactions