Closed bokherus closed 2 years ago
Error: Could not find any Python installation to use
Hi @iCrawl, I'm not sure if I understand this correctly. Is it possible to avoid node-pre-gyp falls back to source compile and required python and gcc dependency of node-gyp for builds on linux arm64?
9 13.39 node-pre-gyp info check checked for "/usr/app/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-arm64-musl-1.2.2/opus.node" (not found)
#9 13.39 node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.7.0/opus-v0.7.0-node-v93-napi-v3-linux-arm64-musl-1.2.2.tar.gz
#9 13.39 node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.7.0/opus-v0.7.0-node-v93-napi-v3-linux-arm64-musl-1.2.2.tar.gz
#9 13.39 node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.7.0 and node@16.13.2 (node-v93 ABI, musl) (falling back to source compile with node-gyp)
#9 13.39 node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.7.0/opus-v0.7.0-node-v93-napi-v3-linux-arm64-musl-1.2.2.tar.gz
As checked on the releases it seems only opus-v0.7.0-node-v93-napi-v3-linux-x64-musl-1.2.2.tar.gz
is available.
No, we simply cannot build for every possible gcc version out there, only the ones that are installed by github runners.
I see, that's pretty reasonable.
Please describe the problem you are having in as much detail as possible: Fail to install the dependency due to prebuild binaries is not available for linux arm64.
Include a reproducible code sample here, if possible: Error logs from github action running from a self-hosted linux machine
Further details: