R
Railway•15mo ago
nitish_18911

Environment Variable Not found

I am using nodejs as a backend and the config plugin with it to get the access to the Railway envoironment variable. However, I am unable to get the variable from after adding it to Raiway variables as it says the varaiable not found.
5 Replies
Percy
Percy•15mo ago
Project ID: c8a65cf9-8c44-4bc5-af20-abedcaf6b196
nitish_18911
nitish_18911•15mo ago
c8a65cf9-8c44-4bc5-af20-abedcaf6b196 Project ID: c8a65cf9-8c44-4bc5-af20-abedcaf6b196
Brody
Brody•15mo ago
just as a test, are you able to access the variable with process.env.variable_name
nitish_18911
nitish_18911•15mo ago
It worked with process.env, as we were using config module however, it was working in past now it is not working. Strange 😕
Brody
Brody•15mo ago
this would be an issue with the code then, please look into the documentation for the config module
Want results from more Discord servers?
Add your server