Unable to find python exec
slmksav
FREEOP

2 years ago

node.js application. Images attached. First time happening.

In package.json, engine is set to "engines": {

"node": ">=20.18.0"

},

Solved

54 Replies

slmksav
FREEOP

2 years ago

3252391


slmksav
FREEOP

2 years ago

3252391


2 years ago

thats not a project id, but can you try adding python to your list of providers in the service settings


slmksav
FREEOP

2 years ago

yes, please remind me how to do that


slmksav
FREEOP

2 years ago

once upon a time i used to set a railway env variable PYTHON VER or alike, now I cannot find such docs


slmksav
FREEOP

2 years ago

unless you mean just this?

1330721873469640847


2 years ago

yeah but make sure node is first


slmksav
FREEOP

2 years ago

doing will keep you updated


slmksav
FREEOP

2 years ago

1330723079910854676


2 years ago

looks like something is trying to use libusb, its safe to say that theres no usb for your service so that is not going to work


slmksav
FREEOP

2 years ago

1330724346141872168


slmksav
FREEOP

2 years ago

the full log


2 years ago

project id please


slmksav
FREEOP

2 years ago

remind me where to fetch that please


2 years ago

the url


slmksav
FREEOP

2 years ago

the enviroment is


slmksav
FREEOP

2 years ago

297e8a13-d1f6-4241-8614-90cabab9b885


2 years ago

that is useful, but id like the project id too please


slmksav
FREEOP

2 years ago

1330725232813801513


2 years ago

project id please 🙂


slmksav
FREEOP

2 years ago

should it be this one]


slmksav
FREEOP

2 years ago

297e8a13-d1f6-4241-8614-90cabab9b885


slmksav
FREEOP

2 years ago

well lets analyze


slmksav
FREEOP

2 years ago

/project/297e8a13-d1f6-4241-8614-90cabab9b885/service/b65f33cd-d06c-49cb-b668-9cce301e9b2d?environmentId=8072e714-ee9d-433d-9d07-a1cea576ee94


slmksav
FREEOP

2 years ago

pick your poison


slmksav
FREEOP

2 years ago

I sent whats after project/


2 years ago

that works too haha


slmksav
FREEOP

2 years ago

only thing I can think that would connect to usb is some esoteric wallet connecting stuff but aint no way that would be working in a web app


slmksav
FREEOP

2 years ago

so i think this is instead some docker bug?


slmksav
FREEOP

2 years ago

if its an optional dependency could i do npm install --no-optional

in the start settings


2 years ago

fatal error: libudev.h: No such file or directory

you're gonna have to remove whatever is trying to use usb from your project, not a docker bug


slmksav
FREEOP

2 years ago

where would i most usefully put this flag in the railway env. npm install --no-optional


2 years ago

via NIXPACKS_INSTALL_CMD


slmksav
FREEOP

2 years ago

okay, thats the env var name


slmksav
FREEOP

2 years ago

and just the npm install command as the value?


slmksav
FREEOP

2 years ago

correct sir?


2 years ago

yes


slmksav
FREEOP

2 years ago

1330727668962037871


slmksav
FREEOP

2 years ago

found that piece of shit hahaha


slmksav
FREEOP

2 years ago

you were completely right


slmksav
FREEOP

2 years ago

id like to talk to the idiot who left that in the react package


slmksav
FREEOP

2 years ago

didnt even make it optional


slmksav
FREEOP

2 years ago

thank you sir


slmksav
FREEOP

2 years ago

you been helping me for 2 years here now


slmksav
FREEOP

2 years ago

ever since my first railway deployment to now


slmksav
FREEOP

2 years ago

legend for 2 years thats more than most can do


2 years ago

hey at least I work for railway now haha


slmksav
FREEOP

2 years ago

getting paid handsomely?


2 years ago

I'm happy


slmksav
FREEOP

2 years ago

mashallah


slmksav
FREEOP

2 years ago

okay you can close this


2 years ago

sounds good


2 years ago

!w


2 years ago

!s


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...