R
Railway

✋|help

Environment Variable Not found

Nnitish_189118/24/2023
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.
Nnitish_189118/24/2023
c8a65cf9-8c44-4bc5-af20-abedcaf6b196
Project ID: c8a65cf9-8c44-4bc5-af20-abedcaf6b196
BBrody8/24/2023
just as a test, are you able to access the variable with process.env.variable_name
Nnitish_189118/25/2023
It worked with process.env, as we were using config module however, it was working in past now it is not working.
Strange 😕
BBrody8/25/2023
this would be an issue with the code then, please look into the documentation for the config module

Looking for more? Join the community!

Recommended Posts
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sockI tried deleting my Railway proc file and getting this error now ERROR: Cannot connect to the DockerNeed wordpress template helpI have this error: Please contact your hosting service and ask them to increase max_input_vars valueCan't login using my emailHi there, I'm trying to login to my account using the magic link, but whenever I do it I get this erDjango Deployment Issue - 503 Error on Railway PlatformHello, I am encountering a 503 error ("Application failed to respond") while deploying my Django apAccessing application results in 502. "upstream connect error or disconnect/reset before headers. "Trying to publish an application to the railway platform. It is a mixture of react, together with soAbout Private networkingHi, I saw Railway has https://docs.railway.app/reference/private-networking Private network domain, refundThe estimated bill is $5, but the actual cost is $11.99, which is much higher than expected. I requeHelloHello, I added cascade = CascadeType.ALL to a OneToMany relationship in my DB. Works locally, but deCannot create code snapshot right nowProject ID `a0e71e1d-430e-45cc-95c5-af153af61c1c` "Cannot create code snapshot right now, please reDeploy my app on Railway (Cost)Hello, Actually I have an API made with Nodejs + Express about Real Estate so I wanna recommendatioHow do you add a worker to a Procfile?It seems that Railway only accepts "web", so how can I add a "worker" to a Procfile?Cannot create code snapshot right nowUnable to deploy across multiple services, both using CLI and branch-triggered deploys. The deploy lhosting fivem (https://fivem.net) server on railwaywould it be possible to host fivem on railway? there is linux binaries for hosting the server. is thHelp configuring express app for use with storage volumeHi, I hope this is the right forum for this question. I have an express app that is using middlewareNo waiving of $5 dollar fee, even though qualified.Can someone clarify the rules for having the fee waived? Based on the blog article from Railway, my Environment Merging Doesn't WorkI created a new project and accidentally started an environment fork / merge thing. Now my staging h