404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.21.1/CPU-darwin-3.21.1.tar.gz
- Dominant language
- HTML
- Stars
- 213
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
When trying to install node dependencies, specifically concerning `tfjs-node`, there seems to be an issue. This may be specific to my system, as I'm running Apple silicon, but essentially what happens is when the install script attempts to download the pre built binaries from https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.21.1/CPU-darwin-3.21.1.tar.gz it gets the following error:
`node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.21.1/CPU-darwin-3.21.1.tar.gz `
this eventually results in more errors as the build script attempts to build tensorflow.
what's strange is this file doesn't even exist in the directory @ https://storage.googleapis.com/tf-builds, and and there are zero darwin specific builds in for `napi-v8` (the latest is `napi-v7/3.6.1` for both CPU and GPU), so i'm unsure why the script is using the build above.
i'm wondering if i should be using a specific arm64 build of node for Apple Silicon or if `tfjs-node` is even compilable natively on Apple silicon currently?
also happy to provide my full logs if it helps troubleshoot this issue.
Contributor guide
Research direction
Start by reproducing the tfjs-node dependency installation on Apple silicon and inspect the install script's node-pre-gyp download URL for napi-v8 and darwin. Compare the requested archive with the available tf-builds entries and determine whether a supported native build or documented Node.js configuration exists; done means installation succeeds or the unsupported configuration is clearly reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, tensorflow
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100