no such file or directory

Getting this issue for a next-on-pages:
Unexpected error: ENOENT: no such file or directory, copyfile '/Volumes/Primary/Code/cms/.vercel/output/functions/api/clerk/webhook.func/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm' -> '/Volumes/Primary/Code/cms/.vercel/output/static/_worker.js/__next-on-pages-dist__/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm'
Unexpected error: ENOENT: no such file or directory, copyfile '/Volumes/Primary/Code/cms/.vercel/output/functions/api/clerk/webhook.func/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm' -> '/Volumes/Primary/Code/cms/.vercel/output/static/_worker.js/__next-on-pages-dist__/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm'
Any ideas?
4 Replies
mr nooli
mr nooliOP11mo ago
I believe this is a next-on-pages issue as I can do npm run build and turbo build but not mkdir .vercel; echo '{"projectId":"_","orgId":"_","settings":{"framework":"nextjs"}}' > .vercel/project.json; npx vercel build; rm -rf .vercel/output/functions/_not-found*; rm -rf .vercel/output/functions/_error*; npx @cloudflare/[email protected] --skip-build; (I found this on github somewhere after getting a bunch of _error.ts/_not-found.ts errors)
mr nooli
mr nooliOP11mo ago
https://github.com/vercel/next.js/issues/42751 seems like this was an issue in nextjs too
GitHub
Edge Chunks are not copied over from original .next/server to .next...
Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: win32 Arch: x64 Version: Windows 10 Pro for W...
mr nooli
mr nooliOP10mo ago
GitHub
[🐛 Bug]: Unexpected error: ENOENT: no such file or directory · Issu...
next-on-pages environment related information No response Description Cloudflare build fails when using git integration on a minimal repository containing create-next-app and an additional file loc...
GitHub
[🐛 Bug]: wasm imports don't work · Issue #676 · cloudflare/next-on-...
next-on-pages environment related information System: Platform: linux Arch: x64 Version: #1 SMP Thu Oct 5 21:02:42 UTC 2023 CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics Memory: 3 GB Shell: ...
GitHub
[🐛 Bug]: @vercel/og doesn't work · Issue #39 · cloudflare/next-on...
I'm having issues getting my project to successfully deploy on Cloudflare because I am relying on a dependency (@vercel/og) which uses satori/wasm. The Vercel building process goes fine but whe...
mr nooli
mr nooliOP10mo ago
(other people facing the same/similar issues as me)
Want results from more Discord servers?
Add your server