Turbopack Error: Next.js package not found #78248
Replies: 3 comments
-
Are you using |
Beta Was this translation helpful? Give feedback.
-
I definitely wasn't using yarn. But, although i do use pnpm, i believe i
had the following command going before it crashed: npm run dev
…On Wed, Apr 16, 2025 at 10:45 AM Joseph ***@***.***> wrote:
Are you using yarn v4 or pnpm with PnP?
—
Reply to this email directly, view it on GitHub
<#78248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCJ56JW3FJMW2Z6X3BQU3A32Z2JNFAVCNFSM6AAAAAB3ILI36OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBVHAYTENQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the report! This error usually happens when Turbopack determined your project’s root directory based on a lockfile that exists further down the filesystem than where next is installed. For example, something like this:
Here, Turbopack determined the root directory to be You’ll need to either:
We’re working on a better way of communicating this problem, and exploring other approaches where the root directory can be better discovered automatically. |
Beta Was this translation helpful? Give feedback.
-
Turbopack version:
v15.3.0-canary.45-23-g664110c18
Error message:
Beta Was this translation helpful? Give feedback.
All reactions