gyp ERR! find Python
hammer0x419
PROOP

a year ago

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! find Python

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! configure error

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack Error: Could not find any Python installation to use

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack at PythonFinder.fail (/nix/store/ha0znbr6xrplqbk7ndijw7pp77c4ffs8-pnpm/dist/node_modules/node-gyp/lib/find-python.js:306:11)

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack at PythonFinder.findPython (/nix/store/ha0znbr6xrplqbk7ndijw7pp77c4ffs8-pnpm/dist/node_modules/node-gyp/lib/find-python.js:164:17)

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack at async configure (/nix/store/ha0znbr6xrplqbk7ndijw7pp77c4ffs8-pnpm/dist/node_modules/node-gyp/lib/configure.js:27:18)

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! stack at async run (/nix/store/ha0znbr6xrplqbk7ndijw7pp77c4ffs8-pnpm/dist/node_modules/node-gyp/bin/node-gyp.js:81:18)

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! System Linux 6.1.0-28-cloud-amd64

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! command "/nix/store/0xvgzkl74v6jrh79ibh7ss770dh4hb69-nodejs-22.10.0/bin/node" "/nix/store/ha0znbr6xrplqbk7ndijw7pp77c4ffs8-pnpm/dist/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! cwd /app/node_modules/.pnpm/usb@2.14.0/node_modules/usb

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! node -v v22.10.0

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! node-gyp -v v10.3.1

.../.pnpm/usb@2.14.0/node_modules/usb install: gyp ERR! not ok

.../.pnpm/usb@2.14.0/node_modules/usb install: Failed

 ELIFECYCLE  Command failed with exit code 1.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

2 Replies

Just banged my head with Brandon on a call to fix this issue, circle back if this is resolved.


Status changed to Awaiting User Response Railway over 1 year ago


hammer0x419
PROOP

a year ago

Thanks Angelo for all the help. The issue was that we needed some dependencies that required some C and Python libraries and the best solution was to create a Dockerfile that included these. Specifically, we believe the build-essentialis what was missing


Status changed to Awaiting Railway Response Railway over 1 year ago


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...