{"action":"created","issue":{"url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/23","labels_url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/23/comments","events_url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/23/events","html_url":"https://github.com/mooz/node-icu-charset-detector/issues/23","id":109869067,"number":23,"title":"can't npm install with node v4.1.1","user":{"login":"azhang","id":940275,"avatar_url":"https://avatars.githubusercontent.com/u/940275?v=3","gravatar_id":"","url":"https://api.github.com/users/azhang","html_url":"https://github.com/azhang","followers_url":"https://api.github.com/users/azhang/followers","following_url":"https://api.github.com/users/azhang/following{/other_user}","gists_url":"https://api.github.com/users/azhang/gists{/gist_id}","starred_url":"https://api.github.com/users/azhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azhang/subscriptions","organizations_url":"https://api.github.com/users/azhang/orgs","repos_url":"https://api.github.com/users/azhang/repos","events_url":"https://api.github.com/users/azhang/events{/privacy}","received_events_url":"https://api.github.com/users/azhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-05T19:30:55Z","updated_at":"2016-01-16T16:33:36Z","closed_at":"2015-12-13T13:08:56Z","body":"```\r\n> node-icu-charset-detector@0.1.3 install /Users/aaron/src/bn/bottlenose/node_modules/node-icu-charset-detector\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o\r\n../node-icu-charset-detector.cpp:7:10: fatal error: 'unicode/ucsdet.h' file not\r\n      found\r\n#include <unicode/ucsdet.h>\r\n         ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Darwin 14.5.0\r\ngyp ERR! command \"/usr/local/bin/iojs\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/aaron/src/bn/bottlenose/node_modules/node-icu-charset-detector\r\ngyp ERR! node -v v4.1.1\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nnpm WARN optional dep failed, continuing node-icu-charset-detector@0.1.3\r\n```"},"comment":{"url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/comments/172222130","html_url":"https://github.com/mooz/node-icu-charset-detector/issues/23#issuecomment-172222130","issue_url":"https://api.github.com/repos/mooz/node-icu-charset-detector/issues/23","id":172222130,"user":{"login":"rahul286","id":4115,"avatar_url":"https://avatars.githubusercontent.com/u/4115?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul286","html_url":"https://github.com/rahul286","followers_url":"https://api.github.com/users/rahul286/followers","following_url":"https://api.github.com/users/rahul286/following{/other_user}","gists_url":"https://api.github.com/users/rahul286/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul286/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul286/subscriptions","organizations_url":"https://api.github.com/users/rahul286/orgs","repos_url":"https://api.github.com/users/rahul286/repos","events_url":"https://api.github.com/users/rahul286/events{/privacy}","received_events_url":"https://api.github.com/users/rahul286/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T16:33:36Z","updated_at":"2016-01-16T16:33:36Z","body":"> brew link icu4c --force\r\n\r\nWorked. Thanks @ismell "}}