Turbopack Error: failed to create whole tree #94502
Replies: 2 comments
-
|
Hi, This looks like an internal Turbopack error, especially because the message is only: One thing I noticed is that the Next.js version is showing as npm list nextYou can also try cleaning the project and running it again: rm -rf .next
rm -rf node_modules
npm install
npm run devIf you are using Turbopack, try running without it to confirm if the issue is only related to Turbopack: next devIf it works without Turbopack but fails with Turbopack, then it is probably a Turbopack bug. In that case, sharing a small reproduction repo would help the maintainers debug it. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
I ran into the same issue: Turbopack version: da605e0c
Next.js version: 0.0.0
Error:
failed to create whole treeA few things helped narrow it down: Things to Check
rm -rf .nextor on Windows: rmdir /s /q .next
rm -rf node_modules package-lock.json
npm install
npm list nextThe reported version should be something like: next@15.x.xSeeing: Next.js version: 0.0.0looks suspicious and may indicate a corrupted or improperly resolved Next.js installation.
npx next devor npm run dev -- --no-turboIf the app starts normally, the issue is likely Turbopack-specific.
Additional InformationThe error message itself is quite generic. The most useful information would be:
The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Turbopack version:
da605e0cNext.js version:
0.0.0Error message:
Beta Was this translation helpful? Give feedback.
All reactions