Comments (8)
I think I have the same problem. I am not sure if it is only happening on Macbooks with M1 CPU because it doesn't fail to install when we run npm install
in a docker alpine image and the containers runs correctly.
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/ranisalt/node-argon2/releases/download/v0.28.2/argon2-v0.28.2-napi-v3-darwin-arm64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/ranisalt/node-argon2/releases/download/v0.28.2/argon2-v0.28.2-napi-v3-darwin-arm64-unknown.tar.gz
CC(target) Release/obj.target/libargon2/argon2/src/ref.o
CC(target) Release/obj.target/libargon2/argon2/src/argon2.o
CC(target) Release/obj.target/libargon2/argon2/src/core.o
CC(target) Release/obj.target/libargon2/argon2/src/blake2/blake2b.o
CC(target) Release/obj.target/libargon2/argon2/src/thread.o
CC(target) Release/obj.target/libargon2/argon2/src/encoding.o
LIBTOOL-STATIC Release/argon2.a
CXX(target) Release/obj.target/argon2/src/argon2_node.o
SOLINK_MODULE(target) Release/argon2.node
COPY /Users/robertoalvarez/Documents/Paystand/DeFi-Card/be-virtualcard/node_modules/argon2/lib/binding/napi-v3/argon2.node
TOUCH Release/obj.target/action_after_build.stamp```
from node-argon2.
Same here. On npm install
/ npm install argon2
a fetch for the pre-built binaries seems to fail on a 404 Not Found:
npm ERR! node-pre-gyp http GET https://github.com/ranisalt/node-argon2/releases/download/v0.31.0/argon2-v0.31.0-napi-v3-darwin-arm64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/ranisalt/node-argon2/releases/download/v0.31.0/argon2-v0.31.0-napi-v3-darwin-arm64-unknown.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v108 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/ranisalt/node-argon2/releases/download/v0.31.0/argon2-v0.31.0-napi-v3-darwin-arm64-unknown.tar.gz
Running on Apple Silicon, macOS 13.4.1. The script seems to attempt to fetch https://github.com/ranisalt/node-argon2/releases/download/v0.31.0/argon2-v0.31.0-napi-v3-darwin-arm64-unknown.tar.gz
but in the GitHub releases for v0.31.0 the file name is https://github.com/ranisalt/node-argon2/releases/download/v0.31.0/argon2-v0.31.0-napi-v3-darwin-x64-unknown.tar.gz
. The script attempts "arm64"
as an architecture but the prebuilt binary seems to expect "x64"
.
from node-argon2.
On a closer look it seems that in commit 51d8364 macos-m1
was removed as an extra release target. Maybe on accident.
# .github/workflows/release.yml
- include:
- - node-version: 16
- os: macos-m1
Pre-built binaries were being published for macOS arm64
(Apple silicon) from v0.29.0 up until v0.30.3 but has been missing since v0.31.0. Have been tinkering around on a private fork but can not get the release pipline to run without some other unrelated issue. I suspect it can be fixed by adding macos-m1
as an OS to line 39 in .github/workflows/release.yml
:
- os: [ubuntu-20.04, macos-11, windows-2019]
+ os: [ubuntu-20.04, macos-11, macos-m1, windows-2019]
On another note I would like to apolagize that this comment and my previous one are likely not related to the issue of the original submitter. Please let me know if a seperate issue should be created.
from node-argon2.
@jonrh that's right, it was not intentional. Feel free to open a PR!
from node-argon2.
Related Issues (20)
- node-pre-gyp ERR! install request to HOT 3
- 0.30.1 causing node-gyp build errors HOT 7
- Mismatched output between v0.28.7 and v0.30.2 ? HOT 7
- Shouldn't @mapbox/node-pre-gyp be under devDependencies? HOT 10
- Module parse failed: Unexpected character '�' (1:2) You may need an appropriate loader to handle this file type HOT 4
- argon2.node: Exec format error on docker container HOT 5
- Wrong remote binary path break down mirror. HOT 5
- Module parse failed: Unexpected token (1:0) HOT 3
- Argoon2 is weaker than bcrypt at runtimes < 1000 ms HOT 1
- Can't run bundles relying on Argon2 with Electron Builder 24 and up on x64 macOS HOT 12
- Build for WASM HOT 2
- armv7 failing to find release HOT 8
- Outdated wiki: Missing documentation for secret property for options parameter HOT 4
- Module not found: Can't resolve 'child_process' HOT 1
- Install fails on macOS 13 with Node 18 HOT 2
- How to use secret? HOT 3
- Vulnerable downstream dependency HOT 6
- Hash in .Net and Verify in node.js HOT 6
- How to cache the Argon2 binary for CI? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-argon2.