Skip to content

Provide prebuilt binary for Node 24 musl #1382

Description

@shyim
#10 7.358 .../node_modules/better-sqlite3 install: prebuild-install warn install No prebuilt binaries found (target=24.2.0 runtime=node arch=arm64 libc=musl platform=linux)
#10 7.377 .../node_modules/better-sqlite3 install: gyp info it worked if it ends with ok
#10 7.377 .../node_modules/better-sqlite3 install: gyp info using node-gyp@11.1.0
#10 7.378 .../node_modules/better-sqlite3 install: gyp info using node@24.2.0 | linux | arm64
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python 
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python Python is not set from command line or npm configuration
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python Python is not set from environment variable PYTHON
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python checking if "python3" can be used
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - executable path is ""
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - "" could not be run
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python checking if "python" can be used
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - executable path is ""
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - "" could not be run
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python 
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python **********************************************************
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python You need to install the latest version of Python.
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python you can try one of the following options:
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python (accepted by both node-gyp and npm)
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - Set the environment variable PYTHON
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python - Set the npm configuration variable python:
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python For more information consult the documentation at:
#10 7.397 .../node_modules/better-sqlite3 install: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! find Python **********************************************************
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! find Python 
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! configure error 
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack Error: Could not find any Python installation to use
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack at PythonFinder.fail (/root/.cache/node/corepack/v1/pnpm/10.12.1/dist/node_modules/node-gyp/lib/find-python.js:306:11)
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack at PythonFinder.findPython (/root/.cache/node/corepack/v1/pnpm/10.12.1/dist/node_modules/node-gyp/lib/find-python.js:164:17)
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack at async configure (/root/.cache/node/corepack/v1/pnpm/10.12.1/dist/node_modules/node-gyp/lib/configure.js:27:18)
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! stack at async run (/root/.cache/node/corepack/v1/pnpm/10.12.1/dist/node_modules/node-gyp/bin/node-gyp.js:81:18)
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! System Linux 6.14.10-orbstack-00291-g1b252bd3edea
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! command "/usr/local/bin/node" "/root/.cache/node/corepack/v1/pnpm/10.12.1/dist/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! cwd /app/node_modules/.pnpm/better-sqlite3@11.10.0/node_modules/better-sqlite3
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! node -v v24.2.0
#10 7.398 .../node_modules/better-sqlite3 install: gyp ERR! node-gyp -v v11.1.0
#10 7.398 .../node_modules/better-sqlite3 install: 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