ARGON 2id - invalid ELF header error

Working correctly on local WAMP, error is on VPS so i assume it is a setup issue

Anyone any ideas how to resolve this?

Wappler Version : 5.1.3
Operating System : Win 10
Server Model: Node
Database Type: MySql
Hosting Type: VPS (centos 8)

API action

Gives error

1 Like

Yeh, and its not even christmas!

You have uploaded probably the Windows binary, which obviously doesn’t run on Linux …
That is why node_modules should never be uploaded and npm install should be done on the server separately so they you get the right native modules for the server.

Any ideas how to fix?

well as I said you should run npm install on your server - and how this is done si dependend on your server installation of NodeJS - usually if you a using a admin panel like Plesk or CPanel - there is an option where you define your nodejs app to run npm install.

if you are using docker - it is all done automatically when you deploy your nodejs app.

Node updated to v16, argon2 installed via NPM, server rebooted. Seems ok now thanks George