railway link error

2 months ago

trying to link a project for a team and i get this. havent used the cli before now. just installed it to try ssh.

git:(main) railway link                  

Cannot query field "teams" on type "User". Did you mean "flags" or "name"?
Solved

13 Replies

2 months ago

What version of the CLI?


2 months ago

railwayapp 3.20.2

2 months ago

just installed it a second ago


2 months ago

Latest version is 4.23.3


2 months ago

how did you install it?


2 months ago

followed the info from https://blog.railway.com/p/ssh#how-to-ssh-on-railway

bash <(curl -fsSL cli.new)

2 months ago

Maybe you already had it installed and then the installation skipped it? Just throwing out ideas here, nothing confirmed.

Either way, try using npm npm install -g @railway/cli or brew brew install railway


2 months ago

it asked if i wanted to install it. never installed it before on this machine. <:thinkies:1238577143466692739>


2 months ago

I wonder if this is an old version from brew


2 months ago

aye, the brew install upgraded it.


2 months ago

the script code uses the github to download it


2 months ago

weirdly someone else on the team did this same thing and got the new version. so outta ideas how i managed to get the old one lol


2 months ago

:yellsbrew:


Status changed to Solved brody about 2 months ago


Loading...