Replies: 36 comments 58 replies
This comment was marked as spam.
This comment was marked as spam.
-
I enocuntered the same error when I configured multi-workspace npm project. |
Beta Was this translation helpful? Give feedback.
-
same issue here using bun monorepos |
Beta Was this translation helpful? Give feedback.
-
Still relevant in |
Beta Was this translation helpful? Give feedback.
-
I have the same issue on next.js 14.0.1 and my project is a turborepo monorepo with multiple workspaces as well |
Beta Was this translation helpful? Give feedback.
-
Still facing this issue. |
Beta Was this translation helpful? Give feedback.
-
Same. Workaround: Just remove the flag --turbo. |
Beta Was this translation helpful? Give feedback.
-
Workaround would be to avoid hoisting of your For example for You can set default install strategy by creating Overall it's a bug in |
Beta Was this translation helpful? Give feedback.
-
I don't use monorepo. I'm only using yarn berry, but the same thing happens. |
Beta Was this translation helpful? Give feedback.
-
Has anyone fixed this issue using Turborepo + PNPM? |
Beta Was this translation helpful? Give feedback.
-
I solved this error by deleting |
Beta Was this translation helpful? Give feedback.
-
I'm getting this error on |
Beta Was this translation helpful? Give feedback.
-
Hello, everyone! I don't know if it could help someone, but I had a lot of these problems. I was using Bun as a monorepo package manager, but Bun has a bug that hoists or not depending on whether you use Hope it can help someone. |
Beta Was this translation helpful? Give feedback.
-
I'm hitting this error while using pnpm and docker :( |
Beta Was this translation helpful? Give feedback.
-
In my case it was |
Beta Was this translation helpful? Give feedback.
-
with me fixed by deleting all lock files than |
Beta Was this translation helpful? Give feedback.
-
When using |
Beta Was this translation helpful? Give feedback.
-
This just started happening to me with pnpm v9.9.0 and next v15.0.3. I've tried every relevant suggestion above, to no avail. My app literally has one Here's the error:
|
Beta Was this translation helpful? Give feedback.
-
Error comes from here https://github.com/vercel/next.js/blob/v15.0.3/crates/next-core/src/next_import_map.rs#L991 |
Beta Was this translation helpful? Give feedback.
-
This worked for me! |
Beta Was this translation helpful? Give feedback.
-
Instead of experimental.outputFileTracingRoot there is also experimental.turbo.root. I am getting the same PM2 loader errors if this value is set but this may work for others. |
Beta Was this translation helpful? Give feedback.
-
Is it possible uninstall --turbopack from my existing nextjs application? |
Beta Was this translation helpful? Give feedback.
-
still the same issue for clean install with create-next-app, next 15.1.6, bun v1.2, Debug info:
|
Beta Was this translation helpful? Give feedback.
-
+1 Have to rmrf
|
Beta Was this translation helpful? Give feedback.
-
Same here. Running Next.js 15.0.3 with Logs
Interesting enough, it starts just fine in the beginning ( |
Beta Was this translation helpful? Give feedback.
-
Could it be an m1 vs m2,3,4 issue? |
Beta Was this translation helpful? Give feedback.
-
Having this same issue with the M4 Pro Mac Mini after upgrading to the latest Nextjs. 15.1.7 and using Bun. Switching to canary like @larsilus said works. Canary .51 seems to be working correctly for me. |
Beta Was this translation helpful? Give feedback.
-
pnpm workspaces / monorepo people do this at root:
|
Beta Was this translation helpful? Give feedback.
-
I can confirm that using bun v1.2.2 workspaces and a text based lockfile, i encounter this issue. Upgrading to canary .56 fixed it. |
Beta Was this translation helpful? Give feedback.
-
import path from 'node:path'
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {}
if (process.env.NODE_ENV === 'development') {
nextConfig.outputFileTracingRoot = path.join(__dirname, '../../')
}
export default nextConfig I made this and worked for me in a monorepo (/apps/web) with bun. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When running
npm run dev
with the--turbo
flag I get some errors and I want to create an issue but it asks for a minimal reproduction repo and I don't have any idea how I could find what's causing these errors. The errors are the following:Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions