{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/588","labels_url":"https://api.github.com/repos/Automattic/node-canvas/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/588/comments","events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/588/events","html_url":"https://github.com/Automattic/node-canvas/issues/588","id":96881859,"number":588,"title":"1.2.4 fails build on nan.h","user":{"login":"arvind","id":42262,"avatar_url":"https://avatars.githubusercontent.com/u/42262?v=3","gravatar_id":"","url":"https://api.github.com/users/arvind","html_url":"https://github.com/arvind","followers_url":"https://api.github.com/users/arvind/followers","following_url":"https://api.github.com/users/arvind/following{/other_user}","gists_url":"https://api.github.com/users/arvind/gists{/gist_id}","starred_url":"https://api.github.com/users/arvind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvind/subscriptions","organizations_url":"https://api.github.com/users/arvind/orgs","repos_url":"https://api.github.com/users/arvind/repos","events_url":"https://api.github.com/users/arvind/events{/privacy}","received_events_url":"https://api.github.com/users/arvind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T18:51:21Z","updated_at":"2015-07-23T18:51:21Z","closed_at":null,"body":"node-canvas v1.2.4 was just released but it's failing to build on node.js 0.10 and 0.12 for me with the following error:\r\n\r\n```\r\n> canvas@1.2.4 install /home/travis/build/vega/vega/node_modules/vega-scenegraph/node_modules/canvas\r\n> node-gyp rebuild\r\nmake: Entering directory `/home/travis/build/vega/vega/node_modules/vega-scenegraph/node_modules/canvas/build'\r\n  SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node\r\n  SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node: Finished\r\n  COPY Release/canvas-postbuild.node\r\n  CXX(target) Release/obj.target/canvas/src/Canvas.o\r\nIn file included from ../src/Canvas.cc:7:0:\r\n../src/Canvas.h:22:17: fatal error: nan.h: No such file or directory\r\ncompilation terminated.\r\nmake: *** [Release/obj.target/canvas/src/Canvas.o] Error 1\r\nmake: Leaving directory `/home/travis/build/vega/vega/node_modules/vega-scenegraph/node_modules/canvas/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/v0.10.40/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267: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 3.13.0-40-generic\r\ngyp ERR! command \"node\" \"/home/travis/.nvm/v0.10.40/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/travis/build/vega/vega/node_modules/vega-scenegraph/node_modules/canvas\r\ngyp ERR! node -v v0.10.40\r\ngyp ERR! node-gyp -v v1.0.1\r\ngyp ERR! not ok \r\n```"}}