{"action":"created","issue":{"url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/248","repository_url":"https://api.github.com/repos/SOHU-Co/kafka-node","labels_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/248/comments","events_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/248/events","html_url":"https://github.com/SOHU-Co/kafka-node/issues/248","id":105742425,"number":248,"title":"incorrect header check at Zlib._binding.onerror","user":{"login":"obazoud","id":300753,"avatar_url":"https://avatars.githubusercontent.com/u/300753?v=3","gravatar_id":"","url":"https://api.github.com/users/obazoud","html_url":"https://github.com/obazoud","followers_url":"https://api.github.com/users/obazoud/followers","following_url":"https://api.github.com/users/obazoud/following{/other_user}","gists_url":"https://api.github.com/users/obazoud/gists{/gist_id}","starred_url":"https://api.github.com/users/obazoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obazoud/subscriptions","organizations_url":"https://api.github.com/users/obazoud/orgs","repos_url":"https://api.github.com/users/obazoud/repos","events_url":"https://api.github.com/users/obazoud/events{/privacy}","received_events_url":"https://api.github.com/users/obazoud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-10T06:49:23Z","updated_at":"2016-04-07T16:09:24Z","closed_at":"2016-04-07T16:09:24Z","body":"Hi,\r\n\r\nI can not install kafka-node, an error occurs on snappy installation\r\n\r\n```\r\n> snappy@3.2.2 install /opt/xxx/node_modules/kafka-node/node_modules/snappy\r\n> pangyp rebuild\r\n\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/root/.node-gyp/0.10.40\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/opt/xxxx/node_modules/kafka-node/node_modules/snappy/.node-gyp\"\r\ngyp WARN install got an error, rolling back install\r\ngyp WARN install got an error, rolling back install\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: incorrect header check\r\ngyp ERR! stack     at Zlib._binding.onerror (zlib.js:296:17)\r\ngyp ERR! System Linux 3.13.0-48-generic\r\ngyp ERR! command \"node\" \"/opt/xxx/node_modules/kafka-node/node_modules/snappy/node_modules/.bin/pangyp\" \"rebuild\"\r\ngyp ERR! cwd /opt/xxx/node_modules/kafka-node/node_modules/snappy\r\ngyp ERR! node -v v0.10.40\r\ngyp ERR! pangyp -v v2.3.2\r\ngyp ERR! not ok \r\n```\r\n\r\nAny workaround ?\r\nWork fine yesterday.\r\n"},"comment":{"url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/comments/206973066","html_url":"https://github.com/SOHU-Co/kafka-node/issues/248#issuecomment-206973066","issue_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/248","id":206973066,"user":{"login":"hyperlink","id":133309,"avatar_url":"https://avatars.githubusercontent.com/u/133309?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperlink","html_url":"https://github.com/hyperlink","followers_url":"https://api.github.com/users/hyperlink/followers","following_url":"https://api.github.com/users/hyperlink/following{/other_user}","gists_url":"https://api.github.com/users/hyperlink/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperlink/subscriptions","organizations_url":"https://api.github.com/users/hyperlink/orgs","repos_url":"https://api.github.com/users/hyperlink/repos","events_url":"https://api.github.com/users/hyperlink/events{/privacy}","received_events_url":"https://api.github.com/users/hyperlink/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T16:09:24Z","updated_at":"2016-04-07T16:09:24Z","body":"I just merged code making snappy optional. closing."}}