You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/event_target:1006process.nextTick(() => { throw err; });
^
Error: Failed to get response header "content-length" — it must be included by the `filterSerializedResponseHeaders` option: https://kit.svelte.dev/docs/hooks#server-hooks-handle (at /)
at response.headers.get (file:///C:/Users/Dominic/Dev/Sandbox/evidence_wsl/my-project/.evidence/template/.svelte-kit/output/server/index.js:657:19)
at Response.arrayBuffer (node:internal/deps/undici/undici:6108:46)
at visit (file:///C:/Users/Dominic/Dev/Sandbox/evidence_wsl/my-project/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:258:69)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:290:10)
at [kOnMessage] (node:internal/worker:301:37)
at MessagePort.<anonymous> (node:internal/worker:202:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:731:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28)
Node.js v18.12.1
Build failed
file:///C:/Users/Dominic/Dev/Sandbox/evidence_wsl/my-project/node_modules/@evidence-dev/evidence/cli.js:178throw`Build process exited with code ${code}`;
^
Build process exited with code 1
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v18.12.1
Workarounds
There is no workaround I can find at the moment.
The text was updated successfully, but these errors were encountered:
Hi Dominic! Thanks for the report - I'm having trouble reproducing on my machines. Are there any major distinguishing features in your environment that you can think of (i.e. using WSL w/ a specific distribution, running in codespaces)?
Hi Dominic! Thanks for the report - I'm having trouble reproducing on my machines. Are there any major distinguishing features in your environment that you can think of (i.e. using WSL w/ a specific distribution, running in codespaces)?
Thank you for the follow-up.
Yes, I have WSL installed. Btw, I also tried to replicate the problem inside WSL, same end result.
I just asked a colleague and he does not have the problem. I'll investigate the problem on my machine and get back to you.
Okay, I just installed the latest 18.20.2 LTS version of Node and npm run build on my evidence project is working. I guess it was related with my old node version (v18.12.1 LTS). Found a link about a similar problem with SvelteKit.
Steps To Reproduce
Just follow the Install Evidence tutorial.
Environment
node -v
): 18.12.1npm -v
): 9.8.1package.json
Expected Behavior
The npm run build should complete without error.
Actual Behaviour
I get a build error at the end.
Workarounds
There is no workaround I can find at the moment.
The text was updated successfully, but these errors were encountered: