Unable to upload images/files
Solved
Bug Reports
-
Error log on the Forum UI:
![yqqpsok1x9vvywpsowj4.jpg]( Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp-linux-x64.node' Require stack: - /run/nodebb/node_modules/sharp/lib/sharp.js - /run/nodebb/node_modules/sharp/lib/constructor.js - /run/nodebb/node_modules/sharp/lib/index.js - /app/code/src/image.js - /app/code/src/posts/uploads.js - /app/code/src/posts/index.js - /app/code/src/plugins/index.js - /app/code/src/groups/index.js - /app/code/src/user/index.js - /app/code/src/events.js - /app/code/src/meta/themes.js - /app/code/src/meta/index.js - /app/code/src/start.js - /app/code/require-main.js - /app/code/app.js Possible solutions: - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp" - Install for the current linux-x64 runtime: "npm install --platform=linux --arch=x64 sharp" - Consult the installation documentation: https://sharp.pixelplumbing.com/install)
-
@baris, nevermind, I just had to restart the app on Cloudron, not sure why.
-
Copyright © 2024 NodeBB | Contributors