Cloudflare pages breaks while hosting

I have a svelte kit project that I am trying to host with Cloudflare pages. By default, Cloudflare pages uses node version 12.x.x but I changed it to node version 18.2.0 via the NODE_VERSION environment variable. There was an error while installing it.

Logs:

This is a known bug, the devs are working on this. Please do not use Node ≥18 yet. Please use 17.9.1 for now, which is ATM the newest Node 17 version, it should work just fine.

Thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.