-
Notifications
You must be signed in to change notification settings - Fork 28.3k
[Error [TurbopackInternalError]: Next.js package not found #76028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Running into this as well on next 15.1.7 when I recently switched to bun v1.2 in my monorepo, with the biggest difference being that I am now using Bun's text based lockfile instead of binary. Ever since that change, nextjs no longer runs for me. Here's the contents of the panic log:
Running npm why, i see the nextjs package is present with the following dependency graph: npm why output
EDIT: 15.2.0-canary.57 seems to fix this. But then it breaks my build on Vercel:
|
I think the issue has to do with Try update your package using Local dev has been runnin fine since I upgraded the packages |
Happens to me as well when using turborepo with-tailwind template (https://github.com/vercel/turborepo/tree/main/examples/with-tailwind) with bun. Updated react and nextjs to latest and nothing changed. The difference for me is that I am unable tu run dev script even once. |
@Chukwu3meka Thank you for submitting an issue! @petrch87 I was able to replicate with the latest but it looks like it is fixed with the latest canary. I had to update next to the latest canary on both Next.js apps ( @Chukwu3meka Can you try updating to the latest canary? |
I'm on last canary, and i get this:
I'm using monorepo with latest turborepo, and latest bun. |
I was able to solve this by switching to |
Thanks, I can confirm that updating to next js canary version (^15.2.0-canary.69) worked for me. |
I can confirm that updating next to |
For anyone coming through later, this can also be caused by having an unnecessary additional lock file in the package directory, rather than at the monorepo root. |
@wadefletch do you mean lock file for soemthing like pnpm and npm at the sametime in a single project? |
This fixed the issue for me as well. Thank you for posting this |
Link to the code that reproduces this issue
https://github.com/Chukwu3meka/waverd-client/tree/Chukwu3meka
To Reproduce
After upgrading to canary and migrating from tailwind3 to v4. Next runs fine but after sometime it crashes without making any change to the codebase.
Next version is
next": "15.2.0-canary.56
butnext info
return:Error I get is
Current vs. Expected behavior
This is my
package.json
and I use pnpm as my package manager.Provide environment information
Which area(s) are affected? (Select all that apply)
Turbopack, Runtime, create-next-app, Script (next/script)
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: