Skip to content

Docker build failure #513

@eth-limo

Description

@eth-limo
$ docker build --rm -t gateway-proxy .
> [base 4/5] RUN npm ci:
10.60 npm error code 1
10.60 npm error path /app/node_modules/bufferutil
10.60 npm error command failed
10.60 npm error command sh -c node-gyp-build
10.60 npm error gyp info it worked if it ends with ok
10.60 npm error gyp info using node-gyp@11.4.2
10.60 npm error gyp info using node@24.12.0 | linux | arm64
10.60 npm error gyp ERR! find Python 
10.60 npm error gyp ERR! find Python Python is not set from command line or npm configuration
10.60 npm error gyp ERR! find Python Python is not set from environment variable PYTHON
10.60 npm error gyp ERR! find Python checking if "python3" can be used
10.60 npm error gyp ERR! find Python - executable path is ""
10.60 npm error gyp ERR! find Python - "" could not be run
10.60 npm error gyp ERR! find Python checking if "python" can be used
10.60 npm error gyp ERR! find Python - executable path is ""
10.60 npm error gyp ERR! find Python - "" could not be run
10.60 npm error gyp ERR! find Python 
10.60 npm error gyp ERR! find Python **********************************************************
10.60 npm error gyp ERR! find Python You need to install the latest version of Python.
10.60 npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
10.60 npm error gyp ERR! find Python you can try one of the following options:
10.60 npm error gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
10.60 npm error gyp ERR! find Python (accepted by both node-gyp and npm)
10.60 npm error gyp ERR! find Python - Set the environment variable PYTHON
10.60 npm error gyp ERR! find Python - Set the npm configuration variable python:
10.60 npm error gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
10.60 npm error gyp ERR! find Python For more information consult the documentation at:
10.60 npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
10.60 npm error gyp ERR! find Python **********************************************************
10.60 npm error gyp ERR! find Python 
10.60 npm error gyp ERR! configure error 
10.60 npm error gyp ERR! stack Error: Could not find any Python installation to use
10.60 npm error gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:306:11)
10.60 npm error gyp ERR! stack at PythonFinder.findPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:164:17)
10.60 npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
10.60 npm error gyp ERR! stack at async configure (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:27:18)
10.60 npm error gyp ERR! stack at async run (/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
10.60 npm error gyp ERR! System Linux 6.17.8-300.fc43.aarch64
10.60 npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
10.60 npm error gyp ERR! cwd /app/node_modules/bufferutil
10.60 npm error gyp ERR! node -v v24.12.0
10.60 npm error gyp ERR! node-gyp -v v11.4.2
10.60 npm error gyp ERR! not ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions