{"action":"created","issue":{"url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/287","repository_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools","labels_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/287/comments","events_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/287/events","html_url":"https://github.com/vector-of-bool/vscode-cmake-tools/issues/287","id":284365640,"number":287,"title":"CMakeTools extension was unable to initialize","user":{"login":"pdemil","id":4175752,"avatar_url":"https://avatars3.githubusercontent.com/u/4175752?v=4","gravatar_id":"","url":"https://api.github.com/users/pdemil","html_url":"https://github.com/pdemil","followers_url":"https://api.github.com/users/pdemil/followers","following_url":"https://api.github.com/users/pdemil/following{/other_user}","gists_url":"https://api.github.com/users/pdemil/gists{/gist_id}","starred_url":"https://api.github.com/users/pdemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdemil/subscriptions","organizations_url":"https://api.github.com/users/pdemil/orgs","repos_url":"https://api.github.com/users/pdemil/repos","events_url":"https://api.github.com/users/pdemil/events{/privacy}","received_events_url":"https://api.github.com/users/pdemil/received_events","type":"User","site_admin":false},"labels":[{"id":359286052,"url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/labels/bug","name":"bug","color":"ee0701","default":true},{"id":359286053,"url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-24T14:26:05Z","updated_at":"2017-12-28T20:06:19Z","closed_at":null,"author_association":"NONE","body":"\r\n### Brief Issue Summary\r\n\r\nTrying to load the loramac-net project in Visual Studio Code.\r\n\r\nError: CMakeTools extension was unable to initialize: TypeError: Reduce of empty array with no initial values [ See output window for mor details]\r\n\r\nIn the output window:\r\nLoading CMake Tools from C:\\<mydir>\\LoRaMac-node\\.vscode\\.cmaketools.json\r\n\r\nWhen I look for hidden files in File Explorer, I don't see .cmaketools.json.\r\nI do see c_cpp_poroperties.json, launch.json, settings.json\r\n\r\n\r\nWho should make the .cmaketools.json file?\r\n\r\nNext I disabled make-server in  settings.json.\r\nNew error appears: CMakeTools extension was unable to initialize: Error: Invalid backend promise [ See output window for more details]\r\n\r\nMaybe related to https://github.com/vector-of-bool/vscode-cmake-tools/issues/237 ?\r\n\r\n### Platform and Versions\r\n\r\n- **Operating System**: Windows 10\r\n- **CMake Version**: 3.10.1\r\n- **VSCode Version**: 1.19.1\r\n- **CMake Tools Extension Version**: 0.10.4\r\n- **Compiler/Toolchain**: gcc-arm-none-eabi-7-2017-q4\r\n\r\n### Other Notes/Information\r\n\r\nMaybe it is a good moment to test your 0.11 beta :-)\r\n"},"comment":{"url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/comments/354350459","html_url":"https://github.com/vector-of-bool/vscode-cmake-tools/issues/287#issuecomment-354350459","issue_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/287","id":354350459,"user":{"login":"vector-of-bool","id":17038621,"avatar_url":"https://avatars1.githubusercontent.com/u/17038621?v=4","gravatar_id":"","url":"https://api.github.com/users/vector-of-bool","html_url":"https://github.com/vector-of-bool","followers_url":"https://api.github.com/users/vector-of-bool/followers","following_url":"https://api.github.com/users/vector-of-bool/following{/other_user}","gists_url":"https://api.github.com/users/vector-of-bool/gists{/gist_id}","starred_url":"https://api.github.com/users/vector-of-bool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vector-of-bool/subscriptions","organizations_url":"https://api.github.com/users/vector-of-bool/orgs","repos_url":"https://api.github.com/users/vector-of-bool/repos","events_url":"https://api.github.com/users/vector-of-bool/events{/privacy}","received_events_url":"https://api.github.com/users/vector-of-bool/received_events","type":"User","site_admin":false},"created_at":"2017-12-28T20:06:19Z","updated_at":"2017-12-28T20:06:19Z","author_association":"OWNER","body":"I'm going to close as a dup of #287."}}
{"actor":{"display_login":"vector-of-bool"}}