"pchstr must contain a $ as first char" Error in wappler?

I am getting an error like below

  server-connect:server Got error? TypeError: pchstr must contain a $ as first char
  server-connect:server     at deserialize (...\node_modules\@phc\format\index.js:147:11)

This error is coming after updating the lib files. Please I need immediate help ?

What NodeJS version are you using?

These are mine for reference:

It’s not showing that design in mine software

Click this button to open Project Settings:

And then you click “Targets”

Mine does not have that design

I am also getting error for argon2.

Should I install it manually ?

Ah, I get it now.

The reason yours don’t have that design is because you’re not using Docker. The lack of Docker itself is not a problem, but in that case you’d need to wait for someone from the Wappler team or another user with a similar setup to yours to help you.

If this is urgent I recommend you to install Docker on your computer, and then set the project settings like mine. Things should work!

Regarding Argon2, yes, run “npm install argon2”.

I did, that when I am getting the "pchstr" error.

Type “node -v” to know what NodeJS version you have. It might be too old for Argon2

v14.16.1

Doesn’t sound that old to me - I’m using v16.

Sadly I don’t know how to help you further. Good luck!

(remember you can try to use Docker)

ok, thank you for your help

This should be fixed in 4.4.4

It’s not just a case of doing an install (on Docker) you need to adjust the package.json file:

I did add argon2

This error is coming after I installed argon2 in nodejs. Before that it was giving argon2 module not found error.

And the password string in the db starts $argon… ?

For encrypting password, I have used sha256 method

Are you using Argon / hash verify in your server action steps?

No, I am not using it.

I am using password.sha256(“key”) method from cryptography tab

So where exactly do you see this error? I thought you are seeing it running a server action? Please post a screenshot of the place where this error is displayed.