env variables are not visible
rajabovilyas
TRIALOP

a year ago

I use nodejs for deployment when adding variables in your tab, the code still doesn’t see them

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

6 Replies

a year ago

How are you accessing them?


rajabovilyas
TRIALOP

a year ago

i get from process.env


dev

How are you accessing them?

rajabovilyas
TRIALOP

a year ago

i get from process.env


temirlanzhangazy
PRO

a year ago

DId you install and import dotenv?


temirlanzhangazy

DId you install and import dotenv?

a year ago

dotenv is not recommended for use on Railway as the service variables are only directly injected into the environment.


a year ago

rajabovilyas, you have yet to deploy the changes after adding the variables -

Attachments


Loading...