ranisalt / node-argon2

Node.js bindings for Argon2 hashing algorithm
https://www.npmjs.com/package/argon2
MIT License
1.86k stars 92 forks source link

Error: No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.17.0 #421

Open Arhyel24 opened 1 week ago

Arhyel24 commented 1 week ago

Error: No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.17.0 loaded from: /var/task/node_modules/argon2

at load.resolve.load.path (/var/task/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/var/task/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/var/task/node_modules/argon2/argon2.cjs:7:32)
at Module.<anonymous> (/opt/rust/bytecode.js:1:1435)
at l._compile (/opt/rust/bytecode.js:1:3140)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at /opt/rust/nodejs.js:1:11762
at Function.dr (/opt/rust/nodejs.js:1:12136) {

page: '/' }

shreecodes commented 1 week ago

We are also seeing this issue, at runtime, with argon2@0.41.1, upon deploying to Vercel.

There is an open discussion here, and folks suggest downgrading to v0.31.2: https://github.com/vercel/next.js/discussions/65978

ranisalt commented 15 hours ago

Please follow the issue template, I need more info about your system to investigate

Arhyel24 commented 12 hours ago

I am facing this issue when deploying to vercel.

NotSimple commented 8 hours ago

I'm also seeing this issue when deploying to AWS Lambda functions

ranisalt commented 6 hours ago

Thanks, I'll try to reproduce it in Vercel first to start investigating