You are RIGHT!!!
This problem really came from node version I installed in my laptop. To make "npm link" without sudo I was using nvm to install NodeJS and I forgot to select version 12.17.0.
Great teams. Thanks a lot!
Hello,
How can I change the reputation of a user inside a widget ?
For example increment by 1, reset to 0, etc...
Thank you.
Are you trying to change the actual reputation, or just update the displayed reputation?
Sorry, yes i would like to change the actual reputation of the user in a mongodb database.
You would need to make a plugin to listen for a socket event, and in the widget js send the needed data to verify the request server-side. After adjusting the reputation and sending the new rep back, you probably want to make a db key to record the last action taken, such as how core uses pid:x:upvote