Argon2 needs to run on a Node.js server. Therefore, if you want to get rid of this error in Next.js, specifically with the new App Router, you need to add 'use server' at the top of your file where you import and use it.