{"action":"opened","issue":{"url":"https://api.github.com/repos/unbornchikken/cmake-js/issues/20","labels_url":"https://api.github.com/repos/unbornchikken/cmake-js/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/unbornchikken/cmake-js/issues/20/comments","events_url":"https://api.github.com/repos/unbornchikken/cmake-js/issues/20/events","html_url":"https://github.com/unbornchikken/cmake-js/issues/20","id":93451029,"number":20,"title":"If there isn't an available toolchain CMake.js crashes with unhandlend rejection error","user":{"login":"unbornchikken","id":5675531,"avatar_url":"https://avatars.githubusercontent.com/u/5675531?v=3","gravatar_id":"","url":"https://api.github.com/users/unbornchikken","html_url":"https://github.com/unbornchikken","followers_url":"https://api.github.com/users/unbornchikken/followers","following_url":"https://api.github.com/users/unbornchikken/following{/other_user}","gists_url":"https://api.github.com/users/unbornchikken/gists{/gist_id}","starred_url":"https://api.github.com/users/unbornchikken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unbornchikken/subscriptions","organizations_url":"https://api.github.com/users/unbornchikken/orgs","repos_url":"https://api.github.com/users/unbornchikken/repos","events_url":"https://api.github.com/users/unbornchikken/events{/privacy}","received_events_url":"https://api.github.com/users/unbornchikken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unbornchikken/cmake-js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T06:33:11Z","updated_at":"2015-07-07T06:33:11Z","closed_at":null,"body":"H:\\arrayfire_js-master>node_modules\\.bin\\cmake-js\r\ninfo CMD CONFIGURE\r\ninfo RUN cmake \"H:\\arrayfire_js-master\" --no-warn-unused-cli -G\"Visual Studio 11\r\n 2012 [arch] Win64\" -DCMAKE_BUILD_TYPE=\"Release\" -DCMAKE_JS_INC=\"C:\\Users\\un\\.cm\r\nake-js\\node-x64\\v0.12.4\\src;C:\\Users\\un\\.cmake-js\\node-x64\\v0.12.4\\deps\\v8\\inclu\r\nde;C:\\Users\\un\\.cmake-js\\node-x64\\v0.12.4\\deps\\uv\\include;H:\\arrayfire_js-master\r\n\\node_modules\\nan\" -DNODE_RUNTIME=\"node\" -DNODE_RUNTIMEVERSION=\"0.12.4\" -DNODE_A\r\nRCH=\"x64\" -DCMAKE_JS_LIB=\"C:\\Users\\un\\.cmake-js\\node-x64\\v0.12.4\\x64\\node.lib\" -\r\nDAF_PATH=\"H:/v3\"\r\nNot searching for unused variables given on the command line.\r\nCMake Error: Could not create named generator Visual Studio 11 2012 [arch] Win64\r\n\r\n\r\nGenerators\r\n  Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.\r\n                                 Optional [arch] can be \"Win64\" or \"ARM\".\r\n  Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.\r\n                                 Optional [arch] can be \"Win64\" or \"ARM\".\r\n  Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.\r\n                                 Optional [arch] can be \"Win64\" or \"ARM\".\r\n  Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.\r\n                                 Optional [arch] can be \"Win64\" or \"IA64\".\r\n  Visual Studio 9 2008 [arch]  = Generates Visual Studio 2008 project files.\r\n                                 Optional [arch] can be \"Win64\" or \"IA64\".\r\n  Visual Studio 8 2005 [arch]  = Generates Visual Studio 2005 project files.\r\n                                 Optional [arch] can be \"Win64\".\r\n  Visual Studio 7 .NET 2003    = Generates Visual Studio .NET 2003 project\r\n                                 files.\r\n  Visual Studio 7              = Deprecated.  Generates Visual Studio .NET\r\n                                 2002 project files.\r\n  Visual Studio 6              = Deprecated.  Generates Visual Studio 6\r\n                                 project files.\r\n  Borland Makefiles            = Generates Borland makefiles.\r\n  NMake Makefiles              = Generates NMake makefiles.\r\n  NMake Makefiles JOM          = Generates JOM makefiles.\r\n  Green Hills MULTI            = Generates Green Hills MULTI files\r\n                                 (experimental, work-in-progress).\r\n  MSYS Makefiles               = Generates MSYS makefiles.\r\n  MinGW Makefiles              = Generates a make file for use with\r\n                                 mingw32-make.\r\n  Unix Makefiles               = Generates standard UNIX makefiles.\r\n  Ninja                        = Generates build.ninja files.\r\n  Watcom WMake                 = Generates Watcom WMake makefiles.\r\n  CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.\r\n  CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.\r\n  CodeBlocks - Ninja           = Generates CodeBlocks project files.\r\n  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.\r\n  CodeLite - MinGW Makefiles   = Generates CodeLite project files.\r\n  CodeLite - NMake Makefiles   = Generates CodeLite project files.\r\n  CodeLite - Ninja             = Generates CodeLite project files.\r\n  CodeLite - Unix Makefiles    = Generates CodeLite project files.\r\n  Eclipse CDT4 - MinGW Makefiles\r\n                               = Generates Eclipse CDT 4.0 project files.\r\n  Eclipse CDT4 - NMake Makefiles\r\n                               = Generates Eclipse CDT 4.0 project files.\r\n  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.\r\n  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.\r\n  Kate - MinGW Makefiles       = Generates Kate project files.\r\n  Kate - NMake Makefiles       = Generates Kate project files.\r\n  Kate - Ninja                 = Generates Kate project files.\r\n  Kate - Unix Makefiles        = Generates Kate project files.\r\n  Sublime Text 2 - MinGW Makefiles\r\n                               = Generates Sublime Text 2 project files.\r\n  Sublime Text 2 - NMake Makefiles\r\n                               = Generates Sublime Text 2 project files.\r\n  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.\r\n  Sublime Text 2 - Unix Makefiles\r\n                               = Generates Sublime Text 2 project files.\r\n\r\nERR! OMG Process terminated: 1\r\nUnhandled rejection Error: Process terminated: 1\r\n    at ChildProcess.<anonymous> (H:\\arrayfire_js-master\\node_modules\\cmake-js\\li\r\nb\\cMake.js:367:24)\r\n    at ChildProcess.emit (events.js:110:17)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\n"}}