Railway run 'node ace ' returns Cannot find module 'C:\Users\MyName\ace
Anonymous
HOBBYOP

2 years ago

Well as the title says I tried to run a node ace command from the CLI after linking my project and I get a cannot find module error.

Solved

25 Replies

Anonymous
HOBBYOP

2 years ago

8924492a-2f18-4f9a-b708-68c6d13dfad8


Anonymous
HOBBYOP

2 years ago

ssh doesn't work either


2 years ago

what's your CLI version?


Anonymous
HOBBYOP

2 years ago

4.0.0


Anonymous
HOBBYOP

2 years ago

just installed it


Anonymous
HOBBYOP

2 years ago

if I do railway status, it shows me right project, env, and service


Anonymous
HOBBYOP

2 years ago

Yet if I do ssh I get error, and if I run the command it tries to run the command on my local PC wtf?


Anonymous
HOBBYOP

2 years ago

nvm I'm dumb myself


Anonymous
HOBBYOP

2 years ago

1357414042804949233


Anonymous
HOBBYOP

2 years ago

ssh still doesn't work tho


2 years ago

what does it says?


Anonymous
HOBBYOP

2 years ago

1357414493965123604


2 years ago

are you using nixpacks or your own dockerfile to build the image?


Anonymous
HOBBYOP

2 years ago

nixpacks


2 years ago

Not the first time this happens, I wonder if it's because the image built by nixpacks doesn't include a 'shell' of some sort


Anonymous
HOBBYOP

2 years ago

I see


2 years ago

You can try creating your own Dockerfile using an alpine or debian based image and see if the ssh works


Anonymous
HOBBYOP

2 years ago

Yeah, I'll try with docker.


Anonymous
HOBBYOP

2 years ago

Ty for your help btw @Medim


2 years ago

No worries, try a Dockerfile and tell me how it goes


2 years ago

Im also curious about this


2 years ago

@qkly how did it go?


Anonymous
HOBBYOP

a year ago

yeah, ssh works on docker


a year ago

Nice to know! If you happen to have any other issue please open a new thread <:salute:1137099685417451530>


a year ago

!s


Status changed to Solved medim • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...