Environment variables not getting detected. #3183
Replies: 1 comment 1 reply
-
Hi @driedpampas. You said you use wrangler, wrangler doesn't load environment variables from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to get a secret key named "SECRET" (added with wrangler) gives this error:
Cannot destructure property 'SECRET' of 'Ks(...)' as it is undefined.
When running
bun dev
the error turns intoCannot read properties of undefined (reading 'raw')
. The SECRET key is defined in.env
.Trying to use it like this:
returns
Cannot read properties of undefined (reading 'SECRET')
Beta Was this translation helpful? Give feedback.
All reactions