Error Sharp MODULE_NOT_FOUND

Hi,

Since a long time I tested an image upload function which gives an error now, I updated Wappler multiple times since I tested it so don’t know when it broke.

I get the following error message:

code: "MODULE_NOT_FOUND"
message: "Cannot find module 'sharp'\nRequire stack:\n- /opt/node_app/lib/modules/image.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 'sharp'\nRequire stack:\n- /opt/node_app/lib/modules/image.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 Object.<anonymous> (/opt/node_app/lib/modules/image.js:2:15)\n    at Module._compile (internal/modules/cjs/loader.js:999:30)\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)\n    at Module.load (internal/modules/cjs/loader.js:863:32)\n    at Function.Module._load (internal/modules/cjs/loader.js:708:14)\n    at Module.require (internal/modules/cjs/loader.js:887:19)"
status: "500"
Community Page
Last updated: