2 years 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
2 years ago
aa7cf7da-5a01-4af2-8db4-490ae195a3dc
can you send a screenshot of the console and the variables from the railway dashboard?
2 years ago


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