{"action":"created","issue":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/93","repository_url":"https://api.github.com/repos/alexhultman/uWebSockets","labels_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/93/comments","events_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/93/events","html_url":"https://github.com/alexhultman/uWebSockets/issues/93","id":153594665,"number":93,"title":"node-gyp rebuild fails on OS X","user":{"login":"lpinca","id":1443911,"avatar_url":"https://avatars.githubusercontent.com/u/1443911?v=3","gravatar_id":"","url":"https://api.github.com/users/lpinca","html_url":"https://github.com/lpinca","followers_url":"https://api.github.com/users/lpinca/followers","following_url":"https://api.github.com/users/lpinca/following{/other_user}","gists_url":"https://api.github.com/users/lpinca/gists{/gist_id}","starred_url":"https://api.github.com/users/lpinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpinca/subscriptions","organizations_url":"https://api.github.com/users/lpinca/orgs","repos_url":"https://api.github.com/users/lpinca/repos","events_url":"https://api.github.com/users/lpinca/events{/privacy}","received_events_url":"https://api.github.com/users/lpinca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexhultman/uWebSockets/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/alexhultman/uWebSockets/labels/low%20priority","name":"low priority","color":"e99695"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-05-07T13:36:36Z","updated_at":"2016-05-09T16:39:06Z","closed_at":null,"body":"I've installed uws version 0.3.4 with npm and compilation fails:\r\n\r\n```bash\r\n$ cat build_log.txt\r\n  CXX(target) Release/obj.target/uws/src/uWS.o\r\nIn file included from ../src/uWS.cpp:1:\r\n../src/uWS.h:8:10: fatal error: 'mutex' file not found\r\n#include <mutex>\r\n         ^\r\n1 error generated.\r\nmake: *** [Release/obj.target/uws/src/uWS.o] Error 1\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:276:23)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)\r\ngyp ERR! System Darwin 15.4.0\r\ngyp ERR! command \"/usr/local/Cellar/node/6.1.0/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/luigi/repos/primus/node_modules/uws\r\ngyp ERR! node -v v6.1.0\r\ngyp ERR! node-gyp -v v3.3.1\r\ngyp ERR! not ok\r\n```"},"comment":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/comments/217918178","html_url":"https://github.com/alexhultman/uWebSockets/issues/93#issuecomment-217918178","issue_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/93","id":217918178,"user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T16:39:06Z","updated_at":"2016-05-09T16:39:06Z","body":"Somewhat better. Remove `-fno-exceptions` and add `-fexceptions` ?"}}