Build an application that uses Argon2. Deploy it to a docker machine using Wappler. Watch the missing module error when you try to log in with Argon2 hashing.
Hi team, is there any chance you can fix this for the next release? It’s a small issue, but a niggly one. Hopefully it shouldn’t take much time to fix.
I manually added the Argon2 dependency to my package.json as it wasn’t being added. However, Wappler keeps trying to remove it (instead of leaving it there).
@George sorry to be a pain, but this problem continues to drive me insane. Is there any way we can get the Argon2 package to stay in package.json when the Argon2 module is being used in Password Hash action in a backend API endpoint?
Update… this issue still exists today. The main problem is that I am using the Argon2 functions in a Library module. Wappler is not noticing that it’s being used and so is automatically removing it from package.json any chance it gets. I find myself continuously having to manually re-add it.
However, should anyone else have this issue then there is a workaround. Create a dummy API endpoint and add the “Password Hash” item to it. Wappler will then spot that the Argon2 package is being used.
I’m not totally cool in having to expose a dummy endpoint to workaround this issue, but it will have to do until this is properly fixed.