-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Labels
TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.
Description
Link to the code that reproduces this issue
https://github.com/MisterJimson/turbo-bug-report
To Reproduce
- Run pnpm build && pnpm start
- Visit /
Current vs. Expected behavior
Current: crash/500 with error::
Error: Failed to collect configuration for /
at ignore-listed frames {
[cause]: Error: Module 28932 was instantiated because it was required from module 33290, but the module factory is not available.
at instantiateModule (.next/server/chunks/ssr/[turbopack]_runtime.js:707:15)
at getOrInstantiateModuleFromParent (.next/server/chunks/ssr/[turbopack]_runtime.js:738:12)
at Context.esmImport [as i] (.next/server/chunks/ssr/[turbopack]_runtime.js:228:20)
at module evaluation (.next/server/chunks/ssr/[root-of-the-server]__8023723c._.js:1:755)
at instantiateModule (.next/server/chunks/ssr/[turbopack]_runtime.js:715:9)
at getOrInstantiateModuleFromParent (.next/server/chunks/ssr/[turbopack]_runtime.js:738:12)
at Context.esmImport [as i] (.next/server/chunks/ssr/[turbopack]_runtime.js:228:20)
at module evaluation (.next/server/chunks/ssr/[root-of-the-server]__aa0032af._.js:1:268)
at instantiateModule (.next/server/chunks/ssr/[turbopack]_runtime.js:715:9)
at getOrInstantiateModuleFromParent (.next/server/chunks/ssr/[turbopack]_runtime.js:738:12)
}
Expected: no crash, 200 http response, renders page
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.6.0: Mon Jul 14 11:28:30 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6030
Available memory (MB): 36864
Available CPU cores: 11
Binaries:
Node: 22.15.0
npm: 10.9.2
Yarn: 1.22.22
pnpm: 9.15.9
Relevant Packages:
next: 16.0.3 // Latest available version is detected (16.0.3).
eslint-config-next: N/A
react: 19.2.0
react-dom: 19.2.0
typescript: 5.9.3
Next.js Config:
output: N/AWhich area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next start (local)
Additional context
- Works on Next 15
- Commit that introduces issue: MisterJimson/turbo-bug-report@6d3d050
Metadata
Metadata
Assignees
Labels
TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.