Turbopack Error: Resource path "src/app/not-found.tsx" need to be on project filesystem "" #89298
Replies: 2 comments
|
This error usually means that Turbopack cannot correctly detect the project filesystem root and ends up treating First, make sure you are running the dev server from the actual Next.js project root. The directory where you run next dev should contain Also double-check that you are really using the App Router. The Another thing to look at is your One thing that stands out is:
This usually means the version could not be resolved properly or Next.js is being run from source. Reinstalling dependencies and making sure you are using an official Next.js release often fixes this. As a quick workaround, you can try running the dev server with Webpack:
If that works, it confirms this is a Turbopack-specific issue rather than a problem with the file itself. Overall, this doesn’t look like an issue with not-found.tsx, but rather a project root / filesystem detection problem in Turbopack. |
Uh oh!
There was an error while loading. Please reload this page.
Turbopack version:
d1bd5b58Next.js version:
0.0.0Error message:
All reactions