-
Locally, I'm importing an environment variable from On Netlify, I've set the
From my searches, I've found an article such as Using secure environment variables in SvelteKit and Netlify which recommends installing and implementing A comment in the article recommends prefixing environment variables with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Well this looks something new, I too have setup env variables on netlify ui and it works just fine, have you tried to |
Beta Was this translation helpful? Give feedback.
-
i have the same problem and this only happen on first deployment, after you re-run the build it will work. Is there any way to make the ENV variables in sveltekit optional and set a default variable in case there is no such ENV ? |
Beta Was this translation helpful? Give feedback.
Well this looks something new, I too have setup env variables on netlify ui and it works just fine, have you tried to
clear cache and deploy the site
?