DEV Community

Discussion on: [Outdated] How I build a full-fledged app with Next.js and MongoDB Part 1: User authentication

Collapse
 
hoangvvo profile image
Hoang

argon2 requires node-gyp, which is a nightmare to work with. If you’re having troubles, switch to different library (preferably scrypt)

If you are to use argon2, read its documentation on github (or node-gyp’s) on how to make node-gyp work. (For example, on windows, you need window-build-tools)