Next.js Discord

Discord Forum

How to use node-rs/argon2

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
How can i use the node-rs/argon2 npm package with nextjs?
Currently i have
    "@node-rs/argon2": "^1.8.3",
    "@node-rs/argon2-win32-x64-msvc": "^1.8.3",
dev as dependencies and i'm using it in an authenticate method of next-auth (email password credentials)

2 Replies

American black bearOP
Im getting the following error
I'm using it in a turborepo with pnpm as package manager if that matters