Closed derpygamer2142 closed 4 days ago
Wrangler
3.87.0
v23.2.0
Windows 10 Home 22H2
As in #6262 when running npm run build, npm run deploy, or creating the project by folllowing https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/, I get the following error:
npm run build
npm run deploy
โ built in 637ms node:internal/event_target:1101 process.nextTick(() => { throw err; }); ^ Error: write EOF at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19) at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -4095, code: 'EOF', syscall: 'write' } Node.js v23.2.0
The build process completes without error and deploys to Cloudflare pages.
npm create cloudflare@latest -- my-svelte-app --framework=svelte
https://github.com/derpygamer2142/cf-sveltekit-issue
vite v5.4.11 building SSR bundle for production... โ 144 modules transformed. vite v5.4.11 building for production... โ 121 modules transformed. .svelte-kit/output/client/_app/version.json 0.03 kB โ gzip: 0.05 kB .svelte-kit/output/client/.vite/manifest.json 2.79 kB โ gzip: 0.51 kB .svelte-kit/output/client/_app/immutable/chunks/legacy.B-18Zlpp.js 0.04 kB โ gzip: 0.06 kB .svelte-kit/output/client/_app/immutable/entry/start.B9XoXnZq.js 0.07 kB โ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/nodes/2.CVt2PFG9.js 0.35 kB โ gzip: 0.26 kB .svelte-kit/output/client/_app/immutable/nodes/1.D-JhoaKI.js 1.22 kB โ gzip: 0.69 kB .svelte-kit/output/client/_app/immutable/chunks/store.D1zqTtIt.js 3.09 kB โ gzip: 1.61 kB .svelte-kit/output/client/_app/immutable/entry/app.CgCklakA.js 9.40 kB โ gzip: 4.28 kB .svelte-kit/output/client/_app/immutable/chunks/runtime.S-55nsRv.js 11.61 kB โ gzip: 4.74 kB .svelte-kit/output/client/_app/immutable/chunks/entry.CDsI-afB.js 28.70 kB โ gzip: 11.33 kB โ built in 584ms
node:internal/event_target:1101 process.nextTick(() => { throw err; }); ^ Error: write EOF at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19) at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -4095, code: 'EOF', syscall: 'write' }
Node.js v23.2.0 โฐ ERROR Error
Hey can you following this comment and see if it helps https://github.com/cloudflare/workers-sdk/issues/3698#issuecomment-2089044668?
That fixed it, thank you!
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.87.0
What version of Node are you using?
v23.2.0
What operating system and version are you using?
Windows 10 Home 22H2
Describe the Bug
Observed behavior
As in #6262 when running
npm run build
,npm run deploy
, or creating the project by folllowing https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/, I get the following error:Expected behavior
The build process completes without error and deploys to Cloudflare pages.
Steps to reproduce
npm create cloudflare@latest -- my-svelte-app --framework=svelte
, as per https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/npm run build
and you will see the same thingPlease provide a link to a minimal reproduction
https://github.com/derpygamer2142/cf-sveltekit-issue
Please provide any relevant error logs
vite v5.4.11 building SSR bundle for production... โ 144 modules transformed. vite v5.4.11 building for production... โ 121 modules transformed. .svelte-kit/output/client/_app/version.json 0.03 kB โ gzip: 0.05 kB .svelte-kit/output/client/.vite/manifest.json 2.79 kB โ gzip: 0.51 kB .svelte-kit/output/client/_app/immutable/chunks/legacy.B-18Zlpp.js 0.04 kB โ gzip: 0.06 kB .svelte-kit/output/client/_app/immutable/entry/start.B9XoXnZq.js 0.07 kB โ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/nodes/2.CVt2PFG9.js 0.35 kB โ gzip: 0.26 kB .svelte-kit/output/client/_app/immutable/nodes/1.D-JhoaKI.js 1.22 kB โ gzip: 0.69 kB .svelte-kit/output/client/_app/immutable/chunks/store.D1zqTtIt.js 3.09 kB โ gzip: 1.61 kB .svelte-kit/output/client/_app/immutable/entry/app.CgCklakA.js 9.40 kB โ gzip: 4.28 kB .svelte-kit/output/client/_app/immutable/chunks/runtime.S-55nsRv.js 11.61 kB โ gzip: 4.74 kB .svelte-kit/output/client/_app/immutable/chunks/entry.CDsI-afB.js 28.70 kB โ gzip: 11.33 kB โ built in 584ms
node:internal/event_target:1101 process.nextTick(() => { throw err; }); ^ Error: write EOF at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19) at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -4095, code: 'EOF', syscall: 'write' }
Node.js v23.2.0 โฐ ERROR Error