Err... that's quite weird. It should not overwrite NodeBB's package.json...
Only admin account can upload non-image files
In the admin panel (settings>uploads) I have allowed users to upload regular files.
When I create a new post as Admin, the upload file icon appears above the compose area as expected. If I login as a registered user the upload file icon disappears (upload image icon is still available).
How to overcome this?
(I've tried using the extended markdown plugin with no luck)
Thanks for your help.
Worked it out.
In the admin panel:
then tick the 'upload files' box for registered users.