Status: "500", code: "MODULE_NOT_FOUND"

Hello,

I updated to Wappler current version and now have problems with login:

{status: "500", code: "MODULE_NOT_FOUND",…} code: "MODULE_NOT_FOUND" message: "Cannot find module 'argon2'\nRequire stack:\n- /opt/node_app/lib/auth/database.js\n- /opt/node_app/lib/core/app.js\n- /opt/node_app/lib/core/middleware.js\n- /opt/node_app/lib/setup/routes.js\n- /opt/node_app/lib/server.js\n- /opt/node_app/index.js" stack: "Error: Cannot find module 'argon2'\nRequire stack:\n- /opt/node_app/lib/auth/database.js\n- /opt/node_app/lib/core/app.js\n- /opt/node_app/lib/core/middleware.js\n- /opt/node_app/lib/setup/routes.js\n- /opt/node_app/lib/server.js\n- /opt/node_app/index.js\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)\n at Function.Module._load (internal/modules/cjs/loader.js:667:27)\n at Module.require (internal/modules/cjs/loader.js:887:19)\n at require (internal/modules/cjs/helpers.js:74:18)\n at DatabaseProvider.validate (/opt/node_app/lib/auth/database.js:24:36)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async DatabaseProvider.login (/opt/node_app/lib/auth/provider.js:45:26)\n at async App._exec (/opt/node_app/lib/core/app.js:463:30)\n at async App._exec (/opt/node_app/lib/core/app.js:434:17)\n at async App.exec (/opt/node_app/lib/core/app.js:403:9)" status: "500"

What happened?
I deleted the lib folder and saved one action to regenerate and deployed again, the problem persists.

I’m using Node.js + postgres + docker
Thanks!

Community Page
Last updated: