Can't connect via Windows PowerSheel CLI
thereyougoson-ops
HOBBYOP

24 days ago

> npm i -g @railway/cli

npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead

npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

added 17 packages in 4s

3 packages are looking for funding

run npm fund for details

Followed by..

> railway login

> Open the browser? Yes

Unauthorized. Please run railway login again.

> railway login

> Open the browser? Yes

Unauthorized. Please run railway login again.

Please advise. It says authorized in browser:

Thank you for time and help as well.

Attachments

Solved$10 Bounty

Pinned Solution

Try using railway login --browserless instead. This displays a pairing code and URL. Visit the URL and enter the code to authenticate.

3 Replies

Status changed to Open Railway 24 days ago


I can't reproduce the bug, try a different browser maybe? or try login via authentication code


Try using railway login --browserless instead. This displays a pairing code and URL. Visit the URL and enter the code to authenticate.


darseen

Try using `railway login --browserless` instead. This displays a pairing code and URL. Visit the URL and enter the code to authenticate.

thereyougoson-ops
HOBBYOP

23 days ago

Hi Darseen, thank you! That worked!

`

railway login --browserless`

Your authentication code is: *********

Please visit:

https://railway.com/activate

⠸ Waiting for authentication...

Logged in as xyz@xyz.com


Status changed to Solved medim 22 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...