Using debug
package causes bug with turbopack
and @svgr/webpack
#78804
Labels
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/paul-vd/nextjs-debug-reproduction
To Reproduce
.env
withDEBUG="acme*"
(acme
can be anything)bun run dev
http://localhost:3000
Current vs. Expected behavior
I expected to see the next.js logo, but I observed the following error instead:
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:47 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6000 Available memory (MB): 16384 Available CPU cores: 8 Binaries: Node: 22.13.1 npm: 10.9.2 Yarn: 1.22.22 pnpm: 8.8.0 Relevant Packages: next: 15.4.0-canary.19 // Latest available version is detected (15.4.0-canary.19). eslint-config-next: N/A react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
I have also tested without installing the
debug
, but the same issue occurs, I believe it might be a peer of other depenencies, from lock file:The text was updated successfully, but these errors were encountered: