Loading duckdb wasm binary causes Turbopack to hang forever #78591
Labels
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/compassionate-cray-jklgc5?workspaceId=ws_WCzEq2KEAJjTU1wDZNuBDJ
To Reproduce
next dev --turbopack
Current vs. Expected behavior
“Compiling /” hangs forever; the page never compiles.
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4242 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.4.0-canary.10 // Latest available version is detected (15.4.0-canary.10). eslint-config-next: N/A react: 19.1.0 react-dom: 19.1.0 typescript: 5.3.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), next build (local)
Additional context
Occurs both during
next dev --turbopack
andnext build --turbopack
Very high CPU usage during while the page is not compiling
The linked reproduction consists solely of
import duckdbWasm from "@duckdb/duckdb-wasm/dist/duckdb-mvp.wasm";
console.log(duckdbWasm);
The text was updated successfully, but these errors were encountered: