It is dangerous to run nodebb this way. Do so at your own risk.
I'm not sure exactly what is causing that npm error, but it's not a NodeBB bug. I suggest you look it up yourself.
When the user tries to delete the cover image, it says that they don't have right to do it, where can I give him the privilege to do so?
Same here. I can't find any option to allow users changing their cover image. Only admin users can do that for their own profile (not that of others).
Thanks for reporting should be fixed in https://github.com/NodeBB/NodeBB/issues/3988
Thanks for your quick fix. There is still a bug with
/templates/partials/account/header.tpl. The condition for the CoverPhoto menu should join with a
isAdmin condition. Unfortunately I couldn't find out how to combine conditions.
<!-- IF isSelf OR isAdmin --> ... <!-- ENDIF isSelf OR isAdmin --> or similar doesn't work.
@alexschomb Yeah there are no conditionals in the template engine, either have to use a helper or set a variable server side like
isSelfOrAdmin = isSelf || isAdmin; and then use that single variable in the template.