{"action":"closed","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/214","labels_url":"https://api.github.com/repos/lovell/sharp/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/214/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/214/events","html_url":"https://github.com/lovell/sharp/issues/214","id":74658426,"number":214,"title":"Installation fails in ../src/utilities.cc","user":{"login":"jiivonen","id":2620356,"avatar_url":"https://avatars.githubusercontent.com/u/2620356?v=3","gravatar_id":"","url":"https://api.github.com/users/jiivonen","html_url":"https://github.com/jiivonen","followers_url":"https://api.github.com/users/jiivonen/followers","following_url":"https://api.github.com/users/jiivonen/following{/other_user}","gists_url":"https://api.github.com/users/jiivonen/gists{/gist_id}","starred_url":"https://api.github.com/users/jiivonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiivonen/subscriptions","organizations_url":"https://api.github.com/users/jiivonen/orgs","repos_url":"https://api.github.com/users/jiivonen/repos","events_url":"https://api.github.com/users/jiivonen/events{/privacy}","received_events_url":"https://api.github.com/users/jiivonen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-09T12:06:30Z","updated_at":"2015-05-09T12:08:01Z","closed_at":"2015-05-09T12:08:01Z","body":"I'm trying to run npm install and get this:\r\n> sharp@0.10.0 install /var/web/expresscuckoo/node_modules/sharp\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory `/var/web/expresscuckoo/node_modules/sharp/build'\r\n  CXX(target) Release/obj.target/sharp/src/common.o\r\n  CXX(target) Release/obj.target/sharp/src/utilities.o\r\n../src/utilities.cc: In function ‘v8::Handle<v8::Value> format(const v8::Arguments&)’:\r\n../src/utilities.cc:99: error: expected initializer before ‘:’ token\r\n../src/utilities.cc:99: error: expected primary-expression before ‘)’ token\r\n../src/utilities.cc:99: error: expected ‘;’ before ‘)’ token\r\n../src/utilities.cc:103: error: ‘f’ was not declared in this scope\r\nmake: *** [Release/obj.target/sharp/src/utilities.o] Error 1\r\nmake: Leaving directory `/var/web/expresscuckoo/node_modules/sharp/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:269: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-504.16.2.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/web/expresscuckoo/node_modules/sharp\r\ngyp ERR! node -v v0.10.36\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok \r\nnpm ERR! weird error 1\r\nnpm ERR! not ok code 0"}}