Pages, Sveltekit and Environment variables
Hello,
I'm trying to use Cloudflare pages to deloy our web application.
However I'm getting errors in the build for each env var, public or private.
I've tried adding these in both the
My build command, from the
Any help is appreciated.
----
It seems many others are having the same problem and no one has found a solution.
I'm trying to use Cloudflare pages to deloy our web application.
However I'm getting errors in the build for each env var, public or private.
I've tried adding these in both the
wrangler.tom and in the settings > environment variables tab. Neither has any effect on the build errors. My build command, from the
package.json file is "build": "npx svelte-kit sync && npx svelte-check && vite build",Any help is appreciated.
----
It seems many others are having the same problem and no one has found a solution.