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

a year 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

a year ago

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


Anonymous
HOBBYOP

a year ago

ssh doesn't work either


a year ago

what's your CLI version?


Anonymous
HOBBYOP

a year ago

4.0.0


Anonymous
HOBBYOP

a year ago

just installed it


Anonymous
HOBBYOP

a year ago

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


Anonymous
HOBBYOP

a year 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

a year ago

nvm I'm dumb myself


Anonymous
HOBBYOP

a year ago

1357414042804949200


Anonymous
HOBBYOP

a year ago

ssh still doesn't work tho


a year ago

what does it says?


Anonymous
HOBBYOP

a year ago

1357414493965123600


a year ago

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


Anonymous
HOBBYOP

a year ago

nixpacks


a year 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

a year ago

I see


a year ago

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


Anonymous
HOBBYOP

a year ago

Yeah, I'll try with docker.


Anonymous
HOBBYOP

a year ago

Ty for your help btw @Medim


a year ago

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


a year ago

Im also curious about this


a year 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 12 months ago


Loading...