{"action":"created","issue":{"url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/10","labels_url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/10/comments","events_url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/10/events","html_url":"https://github.com/darrylhodgins/piface-node/issues/10","id":66319819,"number":10,"title":"npm install fails during gyp build","user":{"login":"bobwirka","id":6414701,"avatar_url":"https://avatars.githubusercontent.com/u/6414701?v=3","gravatar_id":"","url":"https://api.github.com/users/bobwirka","html_url":"https://github.com/bobwirka","followers_url":"https://api.github.com/users/bobwirka/followers","following_url":"https://api.github.com/users/bobwirka/following{/other_user}","gists_url":"https://api.github.com/users/bobwirka/gists{/gist_id}","starred_url":"https://api.github.com/users/bobwirka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobwirka/subscriptions","organizations_url":"https://api.github.com/users/bobwirka/orgs","repos_url":"https://api.github.com/users/bobwirka/repos","events_url":"https://api.github.com/users/bobwirka/events{/privacy}","received_events_url":"https://api.github.com/users/bobwirka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-04T13:24:44Z","updated_at":"2015-04-04T20:10:41Z","closed_at":null,"body":"Following instructions per https://www.npmjs.com/package/piface-node.\r\nHave installed nodejs v0.12.2, and have compiled and installed the piface C libraries.\r\nFailure occurs with \"sudo npm install -g piface-node\" during gyp build.\r\nLots of compile errors starting with:\r\n\r\n  CXX(target) Release/obj.target/pfio/pfio.o\r\n../pfio.cc:7:30: error: ‘Arguments’ does not name a type\r\n\r\nAll errors relate to pfio.cc, lots of \"v8::\" references.\r\n\r\nEnds with:\r\n\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\r\ngyp ERR! System Linux 3.18.7+\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/piface-node\r\ngyp ERR! node -v v0.12.1\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok \r\nnpm ERR! Linux 3.18.7+\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"piface-node\"\r\nnpm ERR! node v0.12.1\r\nnpm ERR! npm  v2.5.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! piface-node@0.0.6 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the piface-node@0.0.6 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the piface-node package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls piface-node\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /usr/local/lib/npm-debug.log\r\n\r\nHas anyone seen this before?\r\n\r\nThanks,\r\n\r\nBob Wirka"},"comment":{"url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/comments/89654962","html_url":"https://github.com/darrylhodgins/piface-node/issues/10#issuecomment-89654962","issue_url":"https://api.github.com/repos/darrylhodgins/piface-node/issues/10","id":89654962,"user":{"login":"bobwirka","id":6414701,"avatar_url":"https://avatars.githubusercontent.com/u/6414701?v=3","gravatar_id":"","url":"https://api.github.com/users/bobwirka","html_url":"https://github.com/bobwirka","followers_url":"https://api.github.com/users/bobwirka/followers","following_url":"https://api.github.com/users/bobwirka/following{/other_user}","gists_url":"https://api.github.com/users/bobwirka/gists{/gist_id}","starred_url":"https://api.github.com/users/bobwirka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobwirka/subscriptions","organizations_url":"https://api.github.com/users/bobwirka/orgs","repos_url":"https://api.github.com/users/bobwirka/repos","events_url":"https://api.github.com/users/bobwirka/events{/privacy}","received_events_url":"https://api.github.com/users/bobwirka/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T20:10:41Z","updated_at":"2015-04-04T20:10:41Z","body":"UPDATE: Seem to have solved this. I only requires a complete rewrite of the pfio.cc file.\r\n\r\nCheck out : https://strongloop.com/strongblog/node-js-v0-12-c-apis-breaking\r\n\r\nLooks like the V8 api has broken everything...\r\n\r\nIf anyone wants the new file, let me know.\r\n\r\nBest,\r\n\r\nBob Wirka"}}