Unable to access env variables using docs instructions In a appwrite cloud function
Hey there π Its a small bug in our docs. in Node, it should be process.env.YOUR_VARIABLE_NAME
where are you seeing this syntax?
Here
can you try clearing your cache?
alright will do so
do you still see {}?
Hey @Steven yes
I still see {}
after clearing all time cached browser data including browsing history and all
Thanks a lot this worked for me
Hmm perhaps there's still application data in the service worker π§
I see it sometimes (including in Incognito), but usually a hard reload makes it go away
Recommended threads
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?
- "Waiting" executions
For my React Native App, I have had no issues deploying a function in Appwrite & the executions either working or failing. Now I am getting status code - 0 & j...