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
Percy17mo ago
Project ID: N/A
>> Thunder <<
>> Thunder <<OP17mo ago
n/a
Brody
Brody17mo ago
"start railway locally" can you be more specific on the exact commands you've ran?
>> Thunder <<
>> Thunder <<OP17mo ago
"railway environment dev && LOCAL=true railway run nodemon workers/worker.ts --max_executable_size=8192 --max_old_space_size=8192"
Brody
Brody17mo ago
do you have a dev environment in your project
>> Thunder <<
>> Thunder <<OP17mo ago
yes
Brody
Brody17mo ago
what does railway variables print?
izakfilmalter
izakfilmalter17mo ago
It doesn't print. Same error. Tried several versions of the cli.
izakfilmalter
izakfilmalter17mo ago
Brody
Brody17mo ago
okay what's your current cli version? railway --version
>> Thunder <<
>> Thunder <<OP17mo ago
3.4.0
Brody
Brody17mo ago
railway logout and login?
>> Thunder <<
>> Thunder <<OP17mo ago
nothing uninstalled and reinstalled aswell
Brody
Brody17mo ago
have you deleted the $HOME/.railway/railway.json file and logged in again?
izakfilmalter
izakfilmalter17mo ago
Yup
Brody
Brody17mo ago
you're facing the same issue as well I presume?
>> Thunder <<
>> Thunder <<OP17mo ago
yes we have exact same issue on version 3.4.0
Brody
Brody17mo ago
interesting, I'll first see if I can reproduce this, then flag for team if I can
>> Thunder <<
>> Thunder <<OP17mo ago
thanx did you manage to recreate the error ?
Brody
Brody17mo ago
i couldn't recreate the error run railway whoami for me
izakfilmalter
izakfilmalter17mo ago
Logged in as Izak Filmalter ([email protected])
Logged in as Izak Filmalter ([email protected])
Brody
Brody17mo ago
what's your railway version?
izakfilmalter
izakfilmalter17mo ago
I get it on both 3.0.22 and 3.4.0.
Brody
Brody17mo ago
sort that out please, you seem to have multiple installs
izakfilmalter
izakfilmalter17mo ago
I was on 3.0.22, and got the error. Upgraded to 3.4.0 and still get the error.
Brody
Brody17mo ago
oh that's what you meant, my bad
izakfilmalter
izakfilmalter17mo 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
Brody17mo ago
good idea, try swapping to a different project and service
izakfilmalter
izakfilmalter16mo ago
Seems like it is working again this morning.
Brody
Brody16mo ago
that's good @thunderthundy are you still having this issue?
>> Thunder <<
>> Thunder <<OP16mo ago
Its all fixed now thanx
Want results from more Discord servers?
Add your server