CLI issue
misterkrud
HOBBYOP

2 months ago

I installed CLI via npm. It's latest version. My Node.js is also the latest stable version.
When I execute railway login, I have a microsecond to type Y or n.
Even if that's successful - nothing happens.
Running 'raliway login --browserless' gives me the response 'Broswerless Login' and nothing else. I can't do anything with CLI as I'm not logged in.

8 Replies

jonas-admin
PRO

2 months ago

Is the pckage you installed @railway/cli?


jonas-admin
PRO

2 months ago

If so, what version is it?


misterkrud
HOBBYOP

2 months ago

Yes - version 4.16.1


aleks
HOBBY

2 months ago

This looks like some sort of Linux system running inside a windows system - if it's WSL, do you have Node installed in the WSL system or in the Windows system outside?


aleks
HOBBY

2 months ago

If it's pulling it in from Windows, that could be the problem


misterkrud
HOBBYOP

2 months ago

I’m running WSL. I ran whereis node- it’s in Ubuntu


jonas-admin
PRO

2 months ago

Working with WSL can be tricky. If u don’t mind: u can always use an access token or a project token when executing commands.


misterkrud
HOBBYOP

2 months ago

Ok thanks. I’ll look in the documentation for that


Loading...