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

10 months 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

10 months ago

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


Anonymous
HOBBYOP

10 months ago

ssh doesn't work either


medim
MODERATOR

10 months ago

what's your CLI version?


Anonymous
HOBBYOP

10 months ago

4.0.0


Anonymous
HOBBYOP

10 months ago

just installed it


Anonymous
HOBBYOP

10 months ago

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


Anonymous
HOBBYOP

10 months 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

10 months ago

nvm I'm dumb myself


Anonymous
HOBBYOP

10 months ago

1357414042804949200


Anonymous
HOBBYOP

10 months ago

ssh still doesn't work tho


medim
MODERATOR

10 months ago

what does it says?


Anonymous
HOBBYOP

10 months ago

1357414493965123600


medim
MODERATOR

10 months ago

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


Anonymous
HOBBYOP

10 months ago

nixpacks


medim
MODERATOR

10 months 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

10 months ago

I see


medim
MODERATOR

10 months ago

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


Anonymous
HOBBYOP

10 months ago

Yeah, I'll try with docker.


Anonymous
HOBBYOP

10 months ago

Ty for your help btw @Medim


medim
MODERATOR

10 months ago

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


medim
MODERATOR

10 months ago

Im also curious about this


medim
MODERATOR

10 months ago

@qkly how did it go?


Anonymous
HOBBYOP

10 months ago

yeah, ssh works on docker


medim
MODERATOR

10 months ago

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


medim
MODERATOR

10 months ago

!s


Status changed to Solved medim 10 months ago


Loading...