{"action":"created","issue":{"url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/18","labels_url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/18/comments","events_url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/18/events","html_url":"https://github.com/ErikDubbelboer/node-sleep/issues/18","id":43177695,"number":18,"title":"Compile issue on Windows 8: Cannot open include file: 'qos.h'","user":{"login":"joeyrobert","id":97663,"avatar_url":"https://avatars.githubusercontent.com/u/97663?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyrobert","html_url":"https://github.com/joeyrobert","followers_url":"https://api.github.com/users/joeyrobert/followers","following_url":"https://api.github.com/users/joeyrobert/following{/other_user}","gists_url":"https://api.github.com/users/joeyrobert/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyrobert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyrobert/subscriptions","organizations_url":"https://api.github.com/users/joeyrobert/orgs","repos_url":"https://api.github.com/users/joeyrobert/repos","events_url":"https://api.github.com/users/joeyrobert/events{/privacy}","received_events_url":"https://api.github.com/users/joeyrobert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-18T20:54:05Z","updated_at":"2015-06-12T23:03:31Z","closed_at":"2014-09-22T12:20:26Z","body":"This seemed like a unique compile time issue on Windows 8. This is occurring with Node v0.10.28. The same issue also occurs when I upgrade to v0.10.32.\r\n\r\n    C:\\Users\\Joey\\Documents\\GitHub\\mobileapp\\native>npm install -g sleep\r\n    npm http GET https://registry.npmjs.org/sleep\r\n    npm http 304 https://registry.npmjs.org/sleep\r\n    npm http GET https://registry.npmjs.org/mkdirp\r\n    npm http 304 https://registry.npmjs.org/mkdirp\r\n\r\n    > sleep@1.1.8 install C:\\Users\\Joey\\AppData\\Roaming\\npm\\node_modules\\sleep\r\n    > node build.js || nodejs build.js\r\n\r\n\r\n    C:\\Users\\Joey\\AppData\\Roaming\\npm\\node_modules\\sleep>node \"C:\\Program Files\r\n    \\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-\r\n    gyp.js\" rebuild --global sleep\r\n    Building the projects in this solution one at a time. To enable parallel build,\r\n    please add the \"/m\" switch.\r\n      sleep.cc\r\n    C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\um\\winsock2.h(882): fatal error\r\n     C1083: Cannot open include file: 'qos.h': No such file or directory [C:\\Users\\\r\n    Joey\\AppData\\Roaming\\npm\\node_modules\\sleep\\build\\node_sleep.vcxproj]\r\n    gyp ERR! build error\r\n    gyp ERR! stack Error: `C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\msbuild.exe` fail\r\n    ed with exit code: 1\r\n    gyp ERR! stack     at ChildProcess.onExit (C:\\Program Files\\nodejs\\node_modules\\\r\n    npm\\node_modules\\node-gyp\\lib\\build.js:267:23)\r\n    gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:807:\r\n    12)\r\n    gyp ERR! System Windows_NT 6.2.9200\r\n    gyp ERR! command \"node\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modu\r\n    les\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" \"--global\" \"sleep\"\r\n    gyp ERR! cwd C:\\Users\\Joey\\AppData\\Roaming\\npm\\node_modules\\sleep\r\n    gyp ERR! node -v v0.10.28\r\n    gyp ERR! node-gyp -v v0.13.0\r\n    gyp ERR! not ok\r\n    [sleep]: Error: Failed to execute 'node-gyp.cmd rebuild --global sleep' (1)\r\n    'nodejs' is not recognized as an internal or external command,\r\n    operable program or batch file.\r\n    npm ERR! sleep@1.1.8 install: `node build.js || nodejs build.js`\r\n    npm ERR! Exit status 1\r\n    npm ERR!\r\n    npm ERR! Failed at the sleep@1.1.8 install script.\r\n    npm ERR! This is most likely a problem with the sleep package,\r\n    npm ERR! not with npm itself.\r\n    npm ERR! Tell the author that this fails on your system:\r\n    npm ERR!     node build.js || nodejs build.js\r\n    npm ERR! You can get their info via:\r\n    npm ERR!     npm owner ls sleep\r\n    npm ERR! There is likely additional logging output above.\r\n\r\n    npm ERR! System Windows_NT 6.2.9200\r\n    npm ERR! command \"C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files\\\\nod\r\n    ejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"-g\" \"sleep\"\r\n    npm ERR! cwd C:\\Users\\Joey\\Documents\\GitHub\\mobileapp\\native\r\n    npm ERR! node -v v0.10.28\r\n    npm ERR! npm -v 1.4.9\r\n    npm ERR! code ELIFECYCLE\r\n    npm ERR!\r\n    npm ERR! Additional logging details can be found in:\r\n    npm ERR!     C:\\Users\\Joey\\Documents\\GitHub\\mobileapp\\native\\npm-debug.log\r\n    npm ERR! not ok code 0\r\n\r\n    C:\\Users\\Joey\\Documents\\GitHub\\mobileapp\\native>"},"comment":{"url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/comments/111637094","html_url":"https://github.com/ErikDubbelboer/node-sleep/issues/18#issuecomment-111637094","issue_url":"https://api.github.com/repos/ErikDubbelboer/node-sleep/issues/18","id":111637094,"user":{"login":"sregmip","id":10644331,"avatar_url":"https://avatars.githubusercontent.com/u/10644331?v=3","gravatar_id":"","url":"https://api.github.com/users/sregmip","html_url":"https://github.com/sregmip","followers_url":"https://api.github.com/users/sregmip/followers","following_url":"https://api.github.com/users/sregmip/following{/other_user}","gists_url":"https://api.github.com/users/sregmip/gists{/gist_id}","starred_url":"https://api.github.com/users/sregmip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sregmip/subscriptions","organizations_url":"https://api.github.com/users/sregmip/orgs","repos_url":"https://api.github.com/users/sregmip/repos","events_url":"https://api.github.com/users/sregmip/events{/privacy}","received_events_url":"https://api.github.com/users/sregmip/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T23:03:30Z","updated_at":"2015-06-12T23:03:30Z","body":"I had the similar problem of Cannot open include file: 'qos.h'  while installing sqlite3 on my machine. I uninstalled the VS 2010 and installed VS 2013 Express for Window 'Desktop' and it solved my problem. "}}