#why command No run??
131 messages · Page 1 of 1 (latest)
Project ID: N/A
Mind clarifying what command you're trying to run?
the railway link command doesn't take any arguments, you simply run railway link
Yes
I login cli and login railway
Sir please tell me what I do that this command will be run?
I’m unsure if it works in poweshell, can you try in a cmd window?
I try but there also no work
does it return any errors when you do it in cmd?
please run the command without arguments again
No work
please run the command in a regular cli window, not in vscode
if that doesn’t work, I’m not sure what the issue is. You’ll have to wait for someone who knows more about the cli to come by
Anyone here?
This is a community driven server so be patient, wait untill a member with CLI knowledge can help you and try re-reading the CLI docs and or reinstalling, u already got kicked yesterday for dm'ing random members so be respectful this time.
Anyone here
Do you have a team/workspace, project, and environment already created in your account on railway?
from the screenshot I can see you're trying to run it with the project id, try just typing in railway link
it will proceed in interactive mode after it
'cause linking with a project id doesn't work for some reason even for me
CMD open > Do what he said.
He is using powershell
link works in powershell just fine, it's just it exits if any arguments are provided
im thinking the same thing as grid, they might not have any projects in their dashboard
What is this id that he put in the cli then?
showing no error is the bug of course, but there is a root cause, and i think the root cause is no projects
Brody pls take a look at my screenshot
interesting
they have ran railway link without an id too
💀
you thought you had me there
@haughty mortar if that's a new project, how about running railway init instead?
Cmd in also not open
Sir I I'd put
I have big projects in node js
I was talking about in the railway dashboard, do you have projects there?
Sir I deploy code through vs code but code no run
what version of the cli are you using? railway --version
okay theres something wrong with vscode
open a separate cmd terminal and run that command
Cmd in also no run
show me please
Sir yesterday run but I don't know why today no work
open a separate cmd terminal and run that command
uninstall the railway cli
i dont know the npm command to do that off the top of my head, but im sure the answer can be found via your search engine of choice
how have you uninstalled it
I uninstalled files from my computer
now run echo railway
Run successful
well the you didn't uninstall it
screenshot please
try running where railway to get it's location
run the command madussa said please
Where railway?
yeah
not in powershell please
it will print path to the executable if system can find it
yes now install the cli again, in cmd
Install done
run railway --version
run where railway
Railway found
lets see
that would be the expected output from an npm install
this isnt looking like an issue with railway, it looks like an issue with your computer
Is there a reason why you keep going back to the cmd in vscode even though we've told you to use the separate program?
it seems to be an extra space when you wrote railway --version
i don't know if that affects on windows
Does that matter?
no it doesn't matter
Now Anyone tell me what I do it will be run
Start command prompt from outside of your editor.
It should not be a powershell.
i've tried a number of different things and I am not even remotely close to being able to reproduce this issue on two different computers lol
works in command prompt, works in powershell/powershell core, works in vscode terminal powershell and cmd
installed via npm - worked
installed via scoop - worked
works in both elevated and non-elevated in all as well
so as brody stated yesterday, it's likely an issue with your computer
I think vs code problem???
Bro my computer is ok
Or vs code settings problem??
if it is vscode problem, this is why multiple people have told you to try it in command prompt outside of vscode, which you said you did and it still did not work. so how could it be vscode?
Right
So now I reset my computer?