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
Error: gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.24"
-
When I run
npm install
, I get this error:
gyp WARN EACCES user root does not have permission to access the dev dir /root/.node-gyp/0.10.24Then it tries to download node-v0.10.24.tar.gz this way:
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/nodebb/node_modules/bcrypt/.node-gyp"
gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gzWhy it happens?
-
hey @reaon, have a look here and see if it can help you?
https://github.com/isaacs/npm/issues/2952 -
I checked it; The original issue is not related to mine but a the second post to the issue is similar to my error, but i don't have compiler error like that one.
I want to know why it try to download node.js v0.10.14 while it's installed?! -
what is your node version?
psychobunny@dev:~$ node -v v0.10.24