Unable to upload a picture to the forum
Unsolved
Technical Support
-
I'm trying to upload pictures to the forum and this output appears to me
Anyone know what the fault is and what can be done?![1f3a7ebc94a6d3c20b6b49327cbf7276.jpg]( Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp-linux-x64.node' Require stack: - /nodebb/node_modules/sharp/lib/sharp.js - /nodebb/node_modules/sharp/lib/constructor.js - /nodebb/node_modules/sharp/lib/index.js - /nodebb/src/image.js - /nodebb/src/posts/uploads.js - /nodebb/src/posts/index.js - /nodebb/src/topics/index.js - /nodebb/src/privileges/topics.js - /nodebb/src/privileges/index.js - /nodebb/src/categories/index.js - /nodebb/src/groups/update.js - /nodebb/src/groups/index.js - /nodebb/src/user/index.js - /nodebb/src/plugins/index.js - /nodebb/src/meta/configs.js - /nodebb/src/meta/index.js - /nodebb/src/start.js - /nodebb/require-main.js - /nodebb/app.js Possible solutions: - Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp" - Install for the current runtime: "npm install --platform=linux --arch=x64 sharp" - Consult the installation documentation: https://sharp.pixelplumbing.com/install)
Thank you!
-
@baris I'm facing the exact issue with Red Hat Enterprise Linux release 8.8.
I know it's not in the supported list, but this is the only option I got sadly. -
Managed to install sharp on Redhat. Just followed the instruction very carefully and some github issues from libvips. https://sharp.pixelplumbing.com/install
Copyright © 2024 NodeBB | Contributors