{"action":"created","issue":{"url":"https://api.github.com/repos/chalda/DiscordBot/issues/37","labels_url":"https://api.github.com/repos/chalda/DiscordBot/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/chalda/DiscordBot/issues/37/comments","events_url":"https://api.github.com/repos/chalda/DiscordBot/issues/37/events","html_url":"https://github.com/chalda/DiscordBot/issues/37","id":129239613,"number":37,"title":"Failed at node-opus node-gyp rebuild","user":{"login":"crater0","id":16257718,"avatar_url":"https://avatars.githubusercontent.com/u/16257718?v=3","gravatar_id":"","url":"https://api.github.com/users/crater0","html_url":"https://github.com/crater0","followers_url":"https://api.github.com/users/crater0/followers","following_url":"https://api.github.com/users/crater0/following{/other_user}","gists_url":"https://api.github.com/users/crater0/gists{/gist_id}","starred_url":"https://api.github.com/users/crater0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crater0/subscriptions","organizations_url":"https://api.github.com/users/crater0/orgs","repos_url":"https://api.github.com/users/crater0/repos","events_url":"https://api.github.com/users/crater0/events{/privacy}","received_events_url":"https://api.github.com/users/crater0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T19:12:35Z","updated_at":"2016-01-28T05:12:03Z","closed_at":null,"body":"Not sure what I'm doing wrong. While trying to install DiscordBot (or node-opus manually) causes errors and this error file.\r\n[npm-debug.txt](https://github.com/chalda/DiscordBot/files/107177/npm-debug.txt)\r\nThe following error occurs for almost every project being built.\r\n\r\n\r\n`..\\..\\deps\\opus\\src\\opus_encoder.c(29): fatal error C1083: Cannot open include file: 'config.h': No such file or directory [C:\\Users\\Matthew\\Documents\\DiscordBot\\DiscordBot-master\\node_modules\\node-opus\\build\\deps\\libopus.vcxproj]`\r\n`..\\..\\deps\\opus\\src\\opus.c(29): fatal error C1083: Cannot open include file: 'config.h': No such file or directory [C:\\Users\\Matthew\\Documents\\DiscordBot\\DiscordBot-master\\node_modules\\node-opus\\build\\deps\\libopus.vcxproj]`\r\n`..\\..\\deps\\opus\\src\\opus_multistream.c(29): fatal error C1083: Cannot open include file: 'config.h': No such file or directory [C:\\Users\\Matthew\\Documents\\DiscordBot\\DiscordBot-master\\node_modules\\node-opus\\build\\deps\\libopus.vcxproj]`\r\n`..\\..\\deps\\opus\\src\\opus_decoder.c(29): fatal error C1083: Cannot open include file: 'config.h': No such file or directory [C:\\Users\\Matthew\\Documents\\DiscordBot\\DiscordBot-master\\node_modules\\node-opus\\build\\deps\\libopus.vcxproj]`\r\n\r\nAnd this error occurs after attempting to build the solution.\r\n\r\n`gyp ERR! build error`\r\n`gyp ERR! stack Error: 'C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe' failed with exit code: 1`\r\n`gyp ERR! stack     at ChildProcess.onExit (C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:270:23)`\r\n`gyp ERR! stack     at emitTwo (events.js:87:13)`\r\n`gyp ERR! stack     at ChildProcess.emit (events.js:172:7)`\r\n`gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)`\r\n`gyp ERR! System Windows_NT 10.0.10586`\r\n`gyp ERR! command \"C:\\\\Program Files (x86)\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files (x86)\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"`\r\n`gyp ERR! cwd C:\\Users\\Matthew\\Documents\\DiscordBot\\DiscordBot-master\\node_modules\\node-opus`\r\n`gyp ERR! node -v v4.2.6`\r\n`gyp ERR! node-gyp -v v3.0.3`\r\n`gyp ERR! not ok`\r\n\r\nAny help would be appreciated. "},"comment":{"url":"https://api.github.com/repos/chalda/DiscordBot/issues/comments/175983037","html_url":"https://github.com/chalda/DiscordBot/issues/37#issuecomment-175983037","issue_url":"https://api.github.com/repos/chalda/DiscordBot/issues/37","id":175983037,"user":{"login":"Einarin","id":641166,"avatar_url":"https://avatars.githubusercontent.com/u/641166?v=3","gravatar_id":"","url":"https://api.github.com/users/Einarin","html_url":"https://github.com/Einarin","followers_url":"https://api.github.com/users/Einarin/followers","following_url":"https://api.github.com/users/Einarin/following{/other_user}","gists_url":"https://api.github.com/users/Einarin/gists{/gist_id}","starred_url":"https://api.github.com/users/Einarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Einarin/subscriptions","organizations_url":"https://api.github.com/users/Einarin/orgs","repos_url":"https://api.github.com/users/Einarin/repos","events_url":"https://api.github.com/users/Einarin/events{/privacy}","received_events_url":"https://api.github.com/users/Einarin/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T05:12:03Z","updated_at":"2016-01-28T05:12:03Z","body":"The setup is failing trying to build node-opus, which discord.js uses for voice chat. I took a quick look at the node-opus bug tracker and saw [this](https://github.com/Rantanen/node-opus/issues/11), then noticed your node is in Program Files (x86).\r\n\r\nIt looks like you're running 32 bit node.js, and node-opus only supports 64 bit on Windows. Try switching to 64 bit node, I suspect that will solve your problem."}}