{"action":"created","issue":{"url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/431","labels_url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/431/comments","events_url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/431/events","html_url":"https://github.com/zone117x/node-open-mining-portal/issues/431","id":88645220,"number":431,"title":"npm update: eroor compiling multi-hashing","user":{"login":"a1binos","id":6671894,"avatar_url":"https://avatars.githubusercontent.com/u/6671894?v=3","gravatar_id":"","url":"https://api.github.com/users/a1binos","html_url":"https://github.com/a1binos","followers_url":"https://api.github.com/users/a1binos/followers","following_url":"https://api.github.com/users/a1binos/following{/other_user}","gists_url":"https://api.github.com/users/a1binos/gists{/gist_id}","starred_url":"https://api.github.com/users/a1binos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1binos/subscriptions","organizations_url":"https://api.github.com/users/a1binos/orgs","repos_url":"https://api.github.com/users/a1binos/repos","events_url":"https://api.github.com/users/a1binos/events{/privacy}","received_events_url":"https://api.github.com/users/a1binos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T07:31:10Z","updated_at":"2015-06-24T05:02:45Z","closed_at":null,"body":"Folowing your install messages, \r\ngcc version is (Ubuntu 4.8.2-19ubuntu1) 4.8.2\r\nafter typing npm update:\r\n\r\nmake: Entering directory `/home/nompuser/nomp/node_modules/stratum-pool/node_modules/multi-hashing/build'\r\n  CXX(target) Release/obj.target/multihashing/multihashing.o\r\n../multihashing.cc:23:22: warning: extra tokens at end of #include directive [enabled by default]\r\n     #include \"sha1.h\",\r\n                      ^\r\n../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’:\r\n../multihashing.cc:34:44: error: ‘New’ is not a member of ‘v8::String’\r\n     return ThrowException(Exception::Error(String::New(msg)));\r\n                                            ^\r\n../multihashing.cc:34:61: error: ‘ThrowException’ was not declared in this scope\r\n     return ThrowException(Exception::Error(String::New(msg)));\r\n                                                             ^\r\n../multihashing.cc: At global scope:\r\n../multihashing.cc:37:27: error: ‘Arguments’ does not name a type\r\n Handle<Value> quark(const Arguments& args) {\r\n                           ^\r\n../multihashing.cc:37:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]\r\n Handle<Value> quark(const Arguments& args) {\r\n                                      ^\r\nIn file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0,\r\n                 from ../multihashing.cc:1:\r\n/home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> quark(const int&)’:\r\n/home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected\r\n   V8_INLINE HandleScope() {}\r\n             ^\r\n../multihashing.cc:38:17: error: within this context\r\n     HandleScope scope;\r\n                 ^\r\n\r\n\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Linux 3.13.0-52-generic\r\ngyp ERR! command \"node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/nompuser/nomp/node_modules/stratum-pool/node_modules/multi-hashing\r\ngyp ERR! node -v v0.12.4\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok\r\nnpm ERR! Linux 3.13.0-52-generic\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"update\"\r\nnpm ERR! node v0.12.4\r\nnpm ERR! npm  v2.10.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! multi-hashing@0.0.9 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\n"},"comment":{"url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/comments/114728299","html_url":"https://github.com/zone117x/node-open-mining-portal/issues/431#issuecomment-114728299","issue_url":"https://api.github.com/repos/zone117x/node-open-mining-portal/issues/431","id":114728299,"user":{"login":"wareck","id":5462099,"avatar_url":"https://avatars.githubusercontent.com/u/5462099?v=3","gravatar_id":"","url":"https://api.github.com/users/wareck","html_url":"https://github.com/wareck","followers_url":"https://api.github.com/users/wareck/followers","following_url":"https://api.github.com/users/wareck/following{/other_user}","gists_url":"https://api.github.com/users/wareck/gists{/gist_id}","starred_url":"https://api.github.com/users/wareck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wareck/subscriptions","organizations_url":"https://api.github.com/users/wareck/orgs","repos_url":"https://api.github.com/users/wareck/repos","events_url":"https://api.github.com/users/wareck/events{/privacy}","received_events_url":"https://api.github.com/users/wareck/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T05:02:45Z","updated_at":"2015-06-24T05:02:45Z","body":"Ok it's not a nomp issue...it's a nodejs issue...\r\nThey change something in paquet since few days (my server works great since one month I tried to reinstall it and I had the same issue than you)\r\n\r\nSo I tries this and it works for me:\r\nRemove all paquet from nodejs (sudo apt-get remove nodejs nodejs-legacy rlwrap)\r\nthen:\r\nsudo curl –sL https://deb.nodesource.com/setup | sudo bash -\r\nsudo apt-get install -y nodejs\r\ncd nomp\r\nnpm update\r\n\r\nIt's seem top works with this nodejs repositery...\r\n\r\nOlivier\r\n\r\n"}}