{"action":"closed","issue":{"url":"https://api.github.com/repos/slackhq/node-slack-client/issues/100","repository_url":"https://api.github.com/repos/slackhq/node-slack-client","labels_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/100/comments","events_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/100/events","html_url":"https://github.com/slackhq/node-slack-client/issues/100","id":124945812,"number":100,"title":"Unable to install on Node V 0.10.29 - probable user error","user":{"login":"boobboo","id":1230659,"avatar_url":"https://avatars.githubusercontent.com/u/1230659?v=3","gravatar_id":"","url":"https://api.github.com/users/boobboo","html_url":"https://github.com/boobboo","followers_url":"https://api.github.com/users/boobboo/followers","following_url":"https://api.github.com/users/boobboo/following{/other_user}","gists_url":"https://api.github.com/users/boobboo/gists{/gist_id}","starred_url":"https://api.github.com/users/boobboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boobboo/subscriptions","organizations_url":"https://api.github.com/users/boobboo/orgs","repos_url":"https://api.github.com/users/boobboo/repos","events_url":"https://api.github.com/users/boobboo/events{/privacy}","received_events_url":"https://api.github.com/users/boobboo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-05T11:23:03Z","updated_at":"2016-02-14T03:48:10Z","closed_at":"2016-02-14T03:48:10Z","body":"Hi, \r\n\r\nI am trying to run a Slackbot server on my Raspberry Pi2, below is an error I am getting when installing using NPM.\r\n\r\nIs there a dependency upon the node version which I cannot see? I have installed all the optional dependencies, although Coffee-Script and WS are at a higher level than required.\r\n\r\nThanks\r\n\r\nChris\r\n\r\npi@raspberrypi3:~ $ sudo npm install slack-client\r\nnpm WARN package.json log@1.4.0 No repository field.\r\n\r\n> utf-8-validate@1.2.1 install /home/pi/node_modules/slack-client/node_modules/ws/node_modules/utf-8-validate\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/pi/node_modules/slack-client/node_modules/ws/node_modules/utf-8-validate/build'\r\n  CXX(target) Release/obj.target/validation/src/validation.o\r\nIn file included from ../src/validation.cc:15:0:\r\n../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’\r\n   static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;\r\n                                               ^\r\nvalidation.target.mk:84: recipe for target 'Release/obj.target/validation/src/validation.o' failed\r\nmake: *** [Release/obj.target/validation/src/validation.o] Error 1\r\nmake: Leaving directory '/home/pi/node_modules/slack-client/node_modules/ws/node_modules/utf-8-validate/build'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)\r\ngyp ERR! System Linux 4.1.13-v7+\r\ngyp ERR! command \"nodejs\" \"/usr/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /home/pi/node_modules/slack-client/node_modules/ws/node_modules/utf-8-validate\r\ngyp ERR! node -v v0.10.29\r\ngyp ERR! node-gyp -v v0.12.2\r\ngyp ERR! not ok\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n\r\n\r\n> bufferutil@1.2.1 install /home/pi/node_modules/slack-client/node_modules/ws/node_modules/bufferutil\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory '/home/pi/node_modules/slack-client/node_modules/ws/node_modules/bufferutil/build'\r\n  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o\r\nIn file included from ../src/bufferutil.cc:16:0:\r\n../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’\r\n   static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;\r\n                                               ^\r\nbufferutil.target.mk:84: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed\r\nmake: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1\r\nmake: Leaving directory '/home/pi/node_modules/slack-client/node_modules/ws/node_modules/bufferutil/build'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)\r\ngyp ERR! System Linux 4.1.13-v7+\r\ngyp ERR! command \"nodejs\" \"/usr/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /home/pi/node_modules/slack-client/node_modules/ws/node_modules/bufferutil\r\ngyp ERR! node -v v0.10.29\r\ngyp ERR! node-gyp -v v0.12.2\r\ngyp ERR! not ok\r\nnpm WARN optional dep failed, continuing utf-8-validate@1.2.1\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n\r\nnpm WARN optional dep failed, continuing bufferutil@1.2.1\r\nslack-client@1.5.1 node_modules/slack-client\r\n├── coffee-script@1.9.3\r\n└── ws@0.8.1 (options@0.0.6, ultron@1.0.2)\r\n\r\npi@raspberrypi3:~ $ sudo npm install coffee-script\r\nnpm WARN package.json log@1.4.0 No repository field.\r\ncoffee-script@1.10.0 node_modules/coffee-script\r\n\r\npi@raspberrypi3:~ $ sudo npm install ws\r\nnpm WARN package.json log@1.4.0 No repository field.\r\nws@1.0.1 node_modules/ws\r\n├── options@0.0.6\r\n└── ultron@1.0.2\r\n"}}