a year ago
I have set up a project that has 15 environment variables but only the first 10 are available in the process itself.
I'm a heavy user of Railway for the past year or so and I've never ran into this issue.
The way I'm checking the variables is by logging process.env to the console.
21 Replies
a year ago
aa7cf7da-5a01-4af2-8db4-490ae195a3dc
can you send a screenshot of the console and the variables from the railway dashboard?
a year ago


a year ago
After Redis URL they're all missing
a year ago
I mean, the screenshot isn't really clear proof of the claim
a year ago
How can I prove it?
a year ago
log statements
console.log(process.env);
console.log(process.env.ETH_RPC);results
image above
...
indexer:start: undefineda year ago
I'll look at your project in a bit
a year ago
thanks boss
a year ago
does this use turbo?
a year ago
Yes
a year ago
have you defined the needed variables in the turbo config?
a year ago
I'm so stupid, my bad.
a year ago
you're not the first, and you wont be the last, personally i think that was a terrible decision by turbo
a year ago
I agree, the worst part is that I've been using turbo on the daily for about a year now <:harold:906670492818235473>
a year ago
yep its a relatively recent change
a year ago
It's always been there as far as I remember
a year ago
I have the memory of a goldfish though
a year ago
yeah they just changed the defaults around iirc