railway not fetching variables

1: expected value at line 1 column 1
1: expected value at line 1 column 1
when trying to start railway localy with command
railway environment dev && LOCAL=true railway run nodemon workers/worker.ts --max_executable_size=8192 --max_old_space_size=8192
railway environment dev && LOCAL=true railway run nodemon workers/worker.ts --max_executable_size=8192 --max_old_space_size=8192
31 Replies
Percy
Percy12mo ago
Project ID: N/A
>> Thunder <<
>> Thunder <<12mo ago
n/a
Brody
Brody12mo ago
"start railway locally" can you be more specific on the exact commands you've ran?
>> Thunder <<
>> Thunder <<12mo ago
"railway environment dev && LOCAL=true railway run nodemon workers/worker.ts --max_executable_size=8192 --max_old_space_size=8192"
Brody
Brody12mo ago
do you have a dev environment in your project
>> Thunder <<
>> Thunder <<12mo ago
yes
Brody
Brody12mo ago
what does railway variables print?
izakfilmalter
izakfilmalter12mo ago
It doesn't print. Same error. Tried several versions of the cli.
izakfilmalter
izakfilmalter12mo ago
Brody
Brody12mo ago
okay what's your current cli version? railway --version
>> Thunder <<
>> Thunder <<12mo ago
3.4.0
Brody
Brody12mo ago
railway logout and login?
>> Thunder <<
>> Thunder <<12mo ago
nothing uninstalled and reinstalled aswell
Brody
Brody12mo ago
have you deleted the $HOME/.railway/railway.json file and logged in again?
izakfilmalter
izakfilmalter12mo ago
Yup
Brody
Brody12mo ago
you're facing the same issue as well I presume?
>> Thunder <<
>> Thunder <<12mo ago
yes we have exact same issue on version 3.4.0
Brody
Brody12mo ago
interesting, I'll first see if I can reproduce this, then flag for team if I can
>> Thunder <<
>> Thunder <<12mo ago
thanx did you manage to recreate the error ?
Brody
Brody12mo ago
i couldn't recreate the error run railway whoami for me
izakfilmalter
izakfilmalter12mo ago
Logged in as Izak Filmalter (izak@churchphone.com)
Logged in as Izak Filmalter (izak@churchphone.com)
Brody
Brody12mo ago
what's your railway version?
izakfilmalter
izakfilmalter12mo ago
I get it on both 3.0.22 and 3.4.0.
Brody
Brody12mo ago
sort that out please, you seem to have multiple installs
izakfilmalter
izakfilmalter12mo ago
I was on 3.0.22, and got the error. Upgraded to 3.4.0 and still get the error.
Brody
Brody12mo ago
oh that's what you meant, my bad
izakfilmalter
izakfilmalter12mo ago
Ya no worries. Is there a verbose flag I can pass to railway variables to debug what's happening? It might be a specific env var that is causing the issue.
Brody
Brody12mo ago
good idea, try swapping to a different project and service
izakfilmalter
izakfilmalter12mo ago
Seems like it is working again this morning.
Brody
Brody12mo ago
that's good @thunderthundy are you still having this issue?
>> Thunder <<
>> Thunder <<12mo ago
Its all fixed now thanx