{"action":"created","issue":{"url":"https://api.github.com/repos/lukeapage/pngjs/issues/48","repository_url":"https://api.github.com/repos/lukeapage/pngjs","labels_url":"https://api.github.com/repos/lukeapage/pngjs/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/lukeapage/pngjs/issues/48/comments","events_url":"https://api.github.com/repos/lukeapage/pngjs/issues/48/events","html_url":"https://github.com/lukeapage/pngjs/issues/48","id":151170948,"number":48,"title":"Error installing version 2.3.0","user":{"login":"oliver-moran","id":414918,"avatar_url":"https://avatars.githubusercontent.com/u/414918?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver-moran","html_url":"https://github.com/oliver-moran","followers_url":"https://api.github.com/users/oliver-moran/followers","following_url":"https://api.github.com/users/oliver-moran/following{/other_user}","gists_url":"https://api.github.com/users/oliver-moran/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-moran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-moran/subscriptions","organizations_url":"https://api.github.com/users/oliver-moran/orgs","repos_url":"https://api.github.com/users/oliver-moran/repos","events_url":"https://api.github.com/users/oliver-moran/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-moran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T15:49:11Z","updated_at":"2016-04-26T16:40:21Z","closed_at":null,"body":"Hi,\r\n\r\nThe latest of this package (2.3.0) doesn't install for me (and others). See here: https://github.com/oliver-moran/jimp/issues/129\r\n\r\nThe problem appears to be the addition of `node-zlib-backport`.\r\n\r\n```\r\nnpm WARN engine node-zlib-backport@0.11.15: wanted: {\"node\":\">=0.10 <0.11\"} (cur\r\nrent: {\"node\":\"5.0.0\",\"npm\":\"3.3.10\"})\r\n\r\n> node-zlib-backport@0.11.15 install C:\\path\\to\\folder (2)\\nod\r\ne_modules\\node-zlib-backport\r\n> node-gyp rebuild\r\n\r\n\r\nC:\\path\\to\\folder (2)\\node_modules\\node-zlib-backport>if not d\r\nefined npm_config_node_gyp (node \"C:\\path\\to\\folder\\AppData\\Roaming\\npm\\node_modu\r\nles\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )\r\n  else (node  rebuild )\r\nBuilding the projects in this solution one at a time. To enable parallel build,\r\nplease add the \"/m\" switch.\r\n  node_zlib.cc\r\nC:\\path\\to\\folder\\.node-gyp\\5.0.0\\include\\node\\node_internals.h(5): fatal error\r\nC1083: Cannot open include file: 'util.h': No such file or directory [C:\\path\\to\\folder (2)\\node_modules\\node-zlib-backport\\build\\zlib.vcxpr\r\noj]\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `C:\\Program Files\\MSBuild\\12.0\\bin\\msbuild.exe` failed wit\r\nh exit code: 1\r\ngyp ERR! stack     at ChildProcess.onExit (C:\\path\\to\\folder\\AppData\\Roaming\\npm\\\r\nnode_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_proces\r\ns.js:200:12)\r\ngyp ERR! System Windows_NT 6.1.7601\r\ngyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\path\\\\to\\\\folder\\\\AppD\r\nata\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\"\r\n\"rebuild\"\r\ngyp ERR! cwd C:\\path\\to\\folder (2)\\node_modules\\node-zlib-back\r\nport\r\ngyp ERR! node -v v5.0.0\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nnpm WARN install:node-zlib-backport@0.11.15 node-zlib-backport@0.11.15 install:\r\n`node-gyp rebuild`\r\nnpm WARN install:node-zlib-backport@0.11.15 Exit status 1\r\nC:\\path\\to\\folder (2)\r\n└── pngjs@2.3.0npm WARN engine node-zlib-backport@0.11.15: wanted: {\"node\":\">=0.10 <0.11\"} (cur\r\nrent: {\"node\":\"5.0.0\",\"npm\":\"3.3.10\"})\r\n\r\n> node-zlib-backport@0.11.15 install C:\\path\\to\\folder (2)\\nod\r\ne_modules\\node-zlib-backport\r\n> node-gyp rebuild\r\n\r\n\r\nC:\\path\\to\\folder (2)\\node_modules\\node-zlib-backport>if not d\r\nefined npm_config_node_gyp (node \"C:\\path\\to\\folder\\AppData\\Roaming\\npm\\node_modu\r\nles\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )\r\n  else (node  rebuild )\r\nBuilding the projects in this solution one at a time. To enable parallel build,\r\nplease add the \"/m\" switch.\r\n  node_zlib.cc\r\nC:\\path\\to\\folder\\.node-gyp\\5.0.0\\include\\node\\node_internals.h(5): fatal error\r\nC1083: Cannot open include file: 'util.h': No such file or directory [C:\\path\\to\\folder (2)\\node_modules\\node-zlib-backport\\build\\zlib.vcxpr\r\noj]\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `C:\\Program Files\\MSBuild\\12.0\\bin\\msbuild.exe` failed wit\r\nh exit code: 1\r\ngyp ERR! stack     at ChildProcess.onExit (C:\\path\\to\\folder\\AppData\\Roaming\\npm\\\r\nnode_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_proces\r\ns.js:200:12)\r\ngyp ERR! System Windows_NT 6.1.7601\r\ngyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\path\\\\to\\\\folder\\\\AppD\r\nata\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\"\r\n\"rebuild\"\r\ngyp ERR! cwd C:\\path\\to\\folder (2)\\node_modules\\node-zlib-back\r\nport\r\ngyp ERR! node -v v5.0.0\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nnpm WARN install:node-zlib-backport@0.11.15 node-zlib-backport@0.11.15 install:\r\n`node-gyp rebuild`\r\nnpm WARN install:node-zlib-backport@0.11.15 Exit status 1\r\nC:\\path\\to\\folder (2)\r\n└── pngjs@2.3.0\r\n```"},"comment":{"url":"https://api.github.com/repos/lukeapage/pngjs/issues/comments/214805717","html_url":"https://github.com/lukeapage/pngjs/issues/48#issuecomment-214805717","issue_url":"https://api.github.com/repos/lukeapage/pngjs/issues/48","id":214805717,"user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T16:40:21Z","updated_at":"2016-04-26T16:40:21Z","body":"I will fix it by removing the dependency and warning if on node 0.10 and it isnt installed. Should have time in the next 12 hours"}}