Turbopack Error: Failed to write app endpoint /page #94507
Replies: 2 comments
-
|
The Next.js version: 0.0.0 is the smoking gun — Turbopack can't locate the Next.js package in your project. Fix in order:
Turbopack looks for next relative to the app package, not the workspace root. Ensure next is in the dependencies of the specific app's package.json, not only the root: "dependencies": { Root cause: Turbopack resolves the Next.js package at startle graph. If the package is missing, mislinked, or in thewrong location, it throws Next.js package not found before any compilation begins. |
Beta Was this translation helpful? Give feedback.
-
|
Most likely broken or missing node_modules. Try a clean reinstall: rm -rf node_modules .next
npm install # or pnpm install / yarn |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Turbopack version:
d1bd5b58Next.js version:
0.0.0Error message:
Beta Was this translation helpful? Give feedback.
All reactions