We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
┌──────────────────────────────┐ │ OpenNext — Generating bundle │ └──────────────────────────────┘ Bundling middleware function... Bundling static assets... Bundling cache assets... Building server function: default... node:fs:3086 binding.copyFile( ^ Error: EPERM: operation not permitted, copyfile '...\.next\standalone\node_modules\.pnpm\[email protected]\node_modules\@img\sharp-wasm32' -> '...\.open-next\server-functions\default\node_modules\.pnpm\[email protected]\node_modules\@img\sharp-wasm32' at copyFileSync (node:fs:3086:11) at file:///.../node_modules/.pnpm/@opennextjs+aws@https+++pkg.pr.new+@opennextjs+aws@748/node_modules/@opennextjs/aws/dist/build/copyTracedFiles.js:140:13 at Map.forEach (<anonymous>) at copyTracedFiles (file:///.../node_modules/.pnpm/@opennextjs+aws@https+++pkg.pr.new+@opennextjs+aws@748/node_modules/@opennextjs/aws/dist/build/copyTracedFiles.js:111:17) at generateBundle (file:///.../node_modules/.pnpm/@opennextjs+cloudflare@https+++pkg.pr.new+@opennextjs+cloudflare@[email protected]_@cl_kqmgsg5g3b7oqvmpys6frm3g2a/node_modules/@opennextjs/cloudflare/dist/cli/build/open-next/createServerBundle.js:106:11) at createServerBundle (file:///.../node_modules/.pnpm/@opennextjs+cloudflare@https+++pkg.pr.new+@opennextjs+cloudflare@[email protected]_@cl_kqmgsg5g3b7oqvmpys6frm3g2a/node_modules/@opennextjs/cloudflare/dist/cli/build/open-next/createServerBundle.js:66:11) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async build (file:///.../node_modules/.pnpm/@opennextjs+cloudflare@https+++pkg.pr.new+@opennextjs+cloudflare@[email protected]_@cl_kqmgsg5g3b7oqvmpys6frm3g2a/node_modules/@opennextjs/cloudflare/dist/cli/build/build.js:74:5) at async file:///.../node_modules/.pnpm/@opennextjs+cloudflare@https+++pkg.pr.new+@opennextjs+cloudflare@[email protected]_@cl_kqmgsg5g3b7oqvmpys6frm3g2a/node_modules/@opennextjs/cloudflare/dist/cli/index.js:7:1 { errno: -4048, code: 'EPERM', syscall: 'copyfile', path: '...\\.next\\standalone\\node_modules\\.pnpm\\[email protected]\\node_modules\\@img\\sharp-wasm32', dest: '...\\.open-next\\server-functions\\default\\node_modules\\.pnpm\\[email protected]\\node_modules\\@img\\sharp-wasm32' } Node.js v22.14.0
pnpm with node-linker=isolated breaks build
If switched to node-linker=hoisted so symlink is disabled, the problems are gone
tested on windows only, guess other platforms are fine
latest stable / canary
3.109.3
Operating System: Platform: win32 Arch: x64 Version: Windows 11 Education Available memory (MB): 65278 Available CPU cores: 24 Binaries: Node: 22.14.0 npm: 10.9.2 Yarn: N/A pnpm: 10.5.0 Relevant Packages: next: 15.1.7 // Latest available version is detected (15.1.7). eslint-config-next: 15.1.7 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Steps to reproduce
pnpm with node-linker=isolated breaks build
If switched to node-linker=hoisted so symlink is disabled, the problems are gone
tested on windows only, guess other platforms are fine
Expected behavior
@opennextjs/cloudflare version
latest stable / canary
Wrangler version
3.109.3
next info output
Additional context
No response
The text was updated successfully, but these errors were encountered: