Next.js Discord

Discord Forum

Error occuring on Vercel

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
Hey, I wanna use argon2 for authentication. I have already some projects running on vercel using it, but now when I wanna use it here it gives me that error. 😦
Why

⨯ Error: No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.15.1
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:1416)
at l._compile (/opt/rust/bytecode.js:1:3099)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at /opt/rust/nodejs.js:1:11604
at Function.or (/opt/rust/nodejs.js:1:11978) {
page: '/api/auth/register'
}

0 Replies