Jake Stout
banner
fakejakestout.bsky.social
Jake Stout
@fakejakestout.bsky.social
Programming, gaming, reading, music, climbing, and striving for thoughtfulness
My having to simultaneously learn SvelteKit's system around dynamic/static/public/private environment variables probably didn't help 🙈
January 15, 2025 at 7:02 PM
Is the issue outdated documentation? Perhaps Vercel's SvelteKit (v0) manages Environment Variables differently from the SvelteKit (v1) I am using.
January 15, 2025 at 6:59 PM
Is PUBLIC_VITE_VERCEL_URL provided automatically by Vercel? Or VITE_VERCEL_URL?

"Many frontend frameworks require prefixes on environment variable names to make them available to the client, such as [...] PUBLIC_ for SvelteKit."

Read carefully... vercel.com/docs/project...
Framework environment variables
Framework environment variables are automatically populated by the Vercel, based on your project's framework.
vercel.com
January 15, 2025 at 6:58 PM
Is one option to achieve better scalability to make a microservice’s multiple processes (eg http, Kafka) activatable by environment-provided config? (eg enable-http: true and enable-kafka: false)
January 12, 2025 at 12:29 PM
Using the latest major versions of svelte/vite seems to be a big hiccup for Claude’s current knowledge cutoff, as well as not restarting IDE/TS engine b/t dev dependencies changes
December 21, 2024 at 4:49 AM
Perhaps restarting Rider fixed something in TypeScript detections. I had added vitest and changed tsconfig a bit last week when error first occurred
December 12, 2024 at 1:36 AM