5 months ago
What am I missing here? Any help would be greatly appreaciated!
Python specific env setup -
PYTHON = "/usr/bin/python3"
NODEGYPFORCE_PYTHON = "/usr/bin/python3"
Deploy Error Logs -
node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
node_modules/usb install: gyp info it worked if it ends with ok
node_modules/usb install: gyp info using node-gyp@10.2.0
node_modules/usb install: gyp info using node@22.2.0 | linux | x64
node_modules/usb install: gyp ERR! find Python
nodemodules/usb install: gyp ERR! find Python checking Python explicitly set from NODEGYPFORCEPYTHON
nodemodules/usb install: gyp ERR! find Python - process.env.NODEGYPFORCEPYTHON is "/usr/bin/python3"
node_modules/usb install: gyp ERR! find Python - executable path is ""
node_modules/usb install: gyp ERR! find Python - "" could not be run
node_modules/usb install: gyp ERR! find Python
node_modules/usb install: gyp ERR! find Python **
node_modules/usb install: gyp ERR! find Python You need to install the latest version of Python.
node_modules/usb install: gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
node_modules/usb install: gyp ERR! find Python you can try one of the following options:
node_modules/usb install: gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
node_modules/usb install: gyp ERR! find Python (accepted by both node-gyp and npm)
node_modules/usb install: gyp ERR! find Python - Set the environment variable PYTHON
node_modules/usb install: gyp ERR! find Python - Set the npm configuration variable python:
node_modules/usb install: gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
node_modules/usb install: gyp ERR! find Python For more information consult the documentation at:
node_modules/usb install: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
node_modules/usb install: gyp ERR! find Python **
node_modules/usb install: gyp ERR! find Python
node_modules/usb install: gyp ERR! configure error
node_modules/usb install: gyp ERR! stack Error: Could not find any Python installation to use
nodemodules/usb install: gyp ERR! stack at PythonFinder.fail (/root/.cache/node/corepack/pnpm/9.12.0/dist/nodemodules/node-gyp/lib/find-python.js:306:11)
nodemodules/usb install: gyp ERR! stack at PythonFinder.findPython (/root/.cache/node/corepack/pnpm/9.12.0/dist/nodemodules/node-gyp/lib/find-python.js:164:17)
nodemodules/usb install: gyp ERR! stack at process.processTicksAndRejections (node:internal/process/taskqueues:95:5)
nodemodules/usb install: gyp ERR! stack at async configure (/root/.cache/node/corepack/pnpm/9.12.0/dist/nodemodules/node-gyp/lib/configure.js:27:18)
nodemodules/usb install: gyp ERR! stack at async run (/root/.cache/node/corepack/pnpm/9.12.0/dist/nodemodules/node-gyp/bin/node-gyp.js:81:18)
node_modules/usb install: gyp ERR! System Linux 6.1.0-13-cloud-amd64
nodemodules/usb install: gyp ERR! command "/nix/store/72m3szv59j74b12dmicmayvvlikh65qc-nodejs-22.2.0/bin/node" "/root/.cache/node/corepack/pnpm/9.12.0/dist/nodemodules/node-gyp/bin/node-gyp.js" "rebuild"
nodemodules/usb install: gyp ERR! cwd /app/nodemodules/usb
node_modules/usb install: gyp ERR! node -v v22.2.0
node_modules/usb install: gyp ERR! node-gyp -v v10.2.0
node_modules/usb install: gyp ERR! not ok
node_modules/core-js-pure postinstall: Done
node_modules/usb install: Failed
WARN Failed to create bin at /app/nodemodules/supabase/nodemodules/.bin/supabase. ENOENT: no such file or directory, chmod '/app/node_modules/supabase/bin/supabase'
ELIFECYCLE Command failed with exit code 1.
node_modules/core-js postinstall: Done
node_modules/supabase postinstall$ node scripts/postinstall.js
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
exit status 1
Stopping Container
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
5 months ago
Hello,
You had some starged changes that where needed, I have applied them and now your build is failing with a new erorr.
Please tackle the current error before we continue debugging.
Best,
Brody
Status changed to Awaiting User Response railway[bot] • 5 months ago