{"action":"created","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/643","repository_url":"https://api.github.com/repos/lovell/sharp","labels_url":"https://api.github.com/repos/lovell/sharp/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/643/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/643/events","html_url":"https://github.com/lovell/sharp/issues/643","id":192837905,"number":643,"title":"node-gyp rebuild fails on node 6.9.1 and 7.1.0;","user":{"login":"maisnamraju","id":2786378,"avatar_url":"https://avatars.githubusercontent.com/u/2786378?v=3","gravatar_id":"","url":"https://api.github.com/users/maisnamraju","html_url":"https://github.com/maisnamraju","followers_url":"https://api.github.com/users/maisnamraju/followers","following_url":"https://api.github.com/users/maisnamraju/following{/other_user}","gists_url":"https://api.github.com/users/maisnamraju/gists{/gist_id}","starred_url":"https://api.github.com/users/maisnamraju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maisnamraju/subscriptions","organizations_url":"https://api.github.com/users/maisnamraju/orgs","repos_url":"https://api.github.com/users/maisnamraju/repos","events_url":"https://api.github.com/users/maisnamraju/events{/privacy}","received_events_url":"https://api.github.com/users/maisnamraju/received_events","type":"User","site_admin":false},"labels":[{"id":52750126,"url":"https://api.github.com/repos/lovell/sharp/labels/question","name":"question","color":"fef2c0","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-12-01T12:49:15Z","updated_at":"2016-12-20T11:29:39Z","closed_at":null,"body":"I am not sure if node is at fault of something else but I can't seem to be able to install sharp on both node 6.9.1 and 7.1.0; Also  i tried to install bcrypt which also uses node-gyp and it worked so am not sure whats at fault here. \r\n\r\n```\r\nnpm verb lifecycle sharp@0.16.2~install: unsafe-perm in lifecycle true\r\nnpm verb lifecycle sharp@0.16.2~install: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/bharagavkonkathi/DayUsers/Bhargav/Official/projects/Git/bwt/server/node_modules/sharp/node_modules/.bin:/home/bharagavkonkathi/DayUsers/Bhargav/Official/projects/Git/bwt/server/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games\r\nnpm verb lifecycle sharp@0.16.2~install: CWD: /home/bharagavkonkathi/DayUsers/Bhargav/Official/projects/Git/bwt/server/node_modules/sharp\r\nnpm info lifecycle sharp@0.16.2~install: Failed to exec install script\r\nnpm verb unlock done using /home/bharagavkonkathi/.npm/_locks/staging-0aae9fe589cf4cf9.lock for /home/bharagavkonkathi/DayUsers/Bhargav/Official/projects/Git/bwt/server/node_modules/.staging\r\nnpm verb stack Error: sharp@0.16.2 install: `node-gyp rebuild`\r\nnpm verb stack Exit status 1\r\nnpm verb stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)\r\nnpm verb stack     at emitTwo (events.js:106:13)\r\nnpm verb stack     at EventEmitter.emit (events.js:191:7)\r\nnpm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)\r\nnpm verb stack     at emitTwo (events.js:106:13)\r\nnpm verb stack     at ChildProcess.emit (events.js:191:7)\r\nnpm verb stack     at maybeClose (internal/child_process.js:885:16)\r\nnpm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\nnpm verb pkgid sharp@0.16.2\r\nnpm verb cwd /home/bharagavkonkathi/DayUsers/Bhargav/Official/projects/Git/bwt/server\r\nnpm ERR! Linux 3.13.0-32-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"--verbose\" \"sharp\"\r\nnpm ERR! node v7.2.0\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! sharp@0.16.2 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the sharp@0.16.2 install script 'node-gyp rebuild'.\r\n```"},"comment":{"url":"https://api.github.com/repos/lovell/sharp/issues/comments/268220715","html_url":"https://github.com/lovell/sharp/issues/643#issuecomment-268220715","issue_url":"https://api.github.com/repos/lovell/sharp/issues/643","id":268220715,"user":{"login":"fithwith","id":6527549,"avatar_url":"https://avatars.githubusercontent.com/u/6527549?v=3","gravatar_id":"","url":"https://api.github.com/users/fithwith","html_url":"https://github.com/fithwith","followers_url":"https://api.github.com/users/fithwith/followers","following_url":"https://api.github.com/users/fithwith/following{/other_user}","gists_url":"https://api.github.com/users/fithwith/gists{/gist_id}","starred_url":"https://api.github.com/users/fithwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fithwith/subscriptions","organizations_url":"https://api.github.com/users/fithwith/orgs","repos_url":"https://api.github.com/users/fithwith/repos","events_url":"https://api.github.com/users/fithwith/events{/privacy}","received_events_url":"https://api.github.com/users/fithwith/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T11:29:39Z","updated_at":"2016-12-20T11:29:39Z","body":"I got the issue resolved after installing g++\r\nsudo apt-get install build-essential g++\r\n"}}
{"actor":{"display_login":"fithwith"}}