{"action":"created","issue":{"url":"https://api.github.com/repos/websockets/utf-8-validate/issues/18","labels_url":"https://api.github.com/repos/websockets/utf-8-validate/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/websockets/utf-8-validate/issues/18/comments","events_url":"https://api.github.com/repos/websockets/utf-8-validate/issues/18/events","html_url":"https://github.com/websockets/utf-8-validate/issues/18","id":106892644,"number":18,"title":"Build error while installing.","user":{"login":"gk1","id":1232073,"avatar_url":"https://avatars.githubusercontent.com/u/1232073?v=3","gravatar_id":"","url":"https://api.github.com/users/gk1","html_url":"https://github.com/gk1","followers_url":"https://api.github.com/users/gk1/followers","following_url":"https://api.github.com/users/gk1/following{/other_user}","gists_url":"https://api.github.com/users/gk1/gists{/gist_id}","starred_url":"https://api.github.com/users/gk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gk1/subscriptions","organizations_url":"https://api.github.com/users/gk1/orgs","repos_url":"https://api.github.com/users/gk1/repos","events_url":"https://api.github.com/users/gk1/events{/privacy}","received_events_url":"https://api.github.com/users/gk1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T00:59:10Z","updated_at":"2015-09-17T18:46:46Z","closed_at":null,"body":"[root@wsgateway nodetest]# npm i utf-8-validate\r\nnpm http GET https://registry.npmjs.org/utf-8-validate\r\nnpm http 304 https://registry.npmjs.org/utf-8-validate\r\nnpm http GET https://registry.npmjs.org/bindings\r\nnpm http 304 https://registry.npmjs.org/bindings\r\n\r\n> utf-8-validate@1.2.1 install /var/www/html/nodetest/node_modules/utf-8-validate\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory `/var/www/html/nodetest/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:\r\n../../nan/nan.h:316: error: âREPLACE_INVALID_UTF8â is not a member of âv8::Stringâ\r\nmake: *** [Release/obj.target/validation/src/validation.o] Error 1\r\nmake: Leaving directory `/var/www/html/nodetest/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/lib/node_modules/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:820:12)\r\ngyp ERR! System Linux 2.6.32-431.el6.x86_64\r\ngyp ERR! command \"node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /var/www/html/nodetest/node_modules/utf-8-validate\r\ngyp ERR! node -v v0.10.36\r\ngyp ERR! node-gyp -v v0.10.6\r\ngyp ERR! not ok\r\nnpm ERR! weird error 1\r\nnpm ERR! not ok code 0\r\n"},"comment":{"url":"https://api.github.com/repos/websockets/utf-8-validate/issues/comments/141184464","html_url":"https://github.com/websockets/utf-8-validate/issues/18#issuecomment-141184464","issue_url":"https://api.github.com/repos/websockets/utf-8-validate/issues/18","id":141184464,"user":{"login":"nicofff","id":763439,"avatar_url":"https://avatars.githubusercontent.com/u/763439?v=3","gravatar_id":"","url":"https://api.github.com/users/nicofff","html_url":"https://github.com/nicofff","followers_url":"https://api.github.com/users/nicofff/followers","following_url":"https://api.github.com/users/nicofff/following{/other_user}","gists_url":"https://api.github.com/users/nicofff/gists{/gist_id}","starred_url":"https://api.github.com/users/nicofff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicofff/subscriptions","organizations_url":"https://api.github.com/users/nicofff/orgs","repos_url":"https://api.github.com/users/nicofff/repos","events_url":"https://api.github.com/users/nicofff/events{/privacy}","received_events_url":"https://api.github.com/users/nicofff/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T18:46:46Z","updated_at":"2015-09-17T18:46:46Z","body":"It looks like the error is dependent on the node version.\r\n\r\nI was getting a similar error on nodejs v4.0 (latest version on arch linux repos), trying to install socket.io-client. The issue seems to be resolved for node v4.0 on the latest release of this repo (which is not used by the last release of socket.io-client).\r\n\r\nNow I'm trying to install on an Amazon linux with node v0.10.36, and I'm getting the same error as @gk1\r\n\r\nSeems like v1.1.0 is the last version compatible with node v0.10.36"}}