Argon2 not installed

Not sure why, updated to latest version. Created a new node js project using docker.

Testing the first page, a registration page, getting 500 errors because argon2 was missing. Similar to this thread: Argon2 module_not_found NodeJS

went to terminal in wappler and manually installed argon2, refreshed services. Started working. So if you get this error: “Cannot find module ‘argon2’\nRequire…”

you need to use the terminal to run this command: npm install argon2
Then click deploy.

node version 16

Did you try just adding the required dependency in package.json and installing modules with Node?

Had another user with a similar issue where it’s not adding automatically:

Yup. The manual fix works a treat. Unfortunately Wappler thereafter keeps removing the line from package.json. So I continually have to keep adding it manually to the same project

Even if you run the command I mentioned?

try:
npm install argon2 --save

I will try this. Though, realistically I shouldn’t need to as Wappler usually takes care of this stuff (cos it’s awesome)