{"action":"created","issue":{"url":"https://api.github.com/repos/desktop/desktop/issues/5107","repository_url":"https://api.github.com/repos/desktop/desktop","labels_url":"https://api.github.com/repos/desktop/desktop/issues/5107/labels{/name}","comments_url":"https://api.github.com/repos/desktop/desktop/issues/5107/comments","events_url":"https://api.github.com/repos/desktop/desktop/issues/5107/events","html_url":"https://github.com/desktop/desktop/issues/5107","id":338922312,"node_id":"MDU6SXNzdWUzMzg5MjIzMTI=","number":5107,"title":"Unable to yarn install in development on macOS","user":{"login":"OiYouYeahYou","id":20130059,"node_id":"MDQ6VXNlcjIwMTMwMDU5","avatar_url":"https://avatars2.githubusercontent.com/u/20130059?v=4","gravatar_id":"","url":"https://api.github.com/users/OiYouYeahYou","html_url":"https://github.com/OiYouYeahYou","followers_url":"https://api.github.com/users/OiYouYeahYou/followers","following_url":"https://api.github.com/users/OiYouYeahYou/following{/other_user}","gists_url":"https://api.github.com/users/OiYouYeahYou/gists{/gist_id}","starred_url":"https://api.github.com/users/OiYouYeahYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OiYouYeahYou/subscriptions","organizations_url":"https://api.github.com/users/OiYouYeahYou/orgs","repos_url":"https://api.github.com/users/OiYouYeahYou/repos","events_url":"https://api.github.com/users/OiYouYeahYou/events{/privacy}","received_events_url":"https://api.github.com/users/OiYouYeahYou/received_events","type":"User","site_admin":false},"labels":[{"id":875509647,"node_id":"MDU6TGFiZWw4NzU1MDk2NDc=","url":"https://api.github.com/repos/desktop/desktop/labels/infrastructure","name":"infrastructure","color":"e07362","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-06T12:34:14Z","updated_at":"2018-07-06T13:20:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\nWhen using the yarn command to install dependencies a wall of errors is produced\r\n\r\nThis is possibly out of your scope, but I only have this issue on this repo. I am unable to resolve this issue after removing and reinstalling node, npm, yarn, node-gym and xcode. I am hoping there is a less nuclear solution than wiping my device\r\n\r\n## Version\r\n* GitHub Desktop: 1.2.6\r\n* Operating system: macOS 10.13.4\r\n* yarn version v1.7.0\r\n* node v8.11.3\r\n* npm 5.6.0\r\n\r\n### Expected Behavior\r\nInstalls dependencies\r\n\r\n### Actual Behavior\r\nFails\r\n\r\n### Logs\r\n\r\nOutput from `yarn`:\r\n```\r\nyarn install v1.7.0\r\n[1/5] 🔍  Validating package.json...\r\n[2/5] 🔍  Resolving packages...\r\n[3/5] 🚚  Fetching packages...\r\ninfo 7zip-bin-linux@1.3.1: The platform \"darwin\" is incompatible with this module.\r\ninfo \"7zip-bin-linux@1.3.1\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\ninfo 7zip-bin-win@2.2.0: The platform \"darwin\" is incompatible with this module.\r\ninfo \"7zip-bin-win@2.2.0\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\ninfo app-builder-bin-linux@1.5.0: The platform \"darwin\" is incompatible with this module.\r\ninfo \"app-builder-bin-linux@1.5.0\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\ninfo app-builder-bin-win@1.5.0: The platform \"darwin\" is incompatible with this module.\r\ninfo \"app-builder-bin-win@1.5.0\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\n[4/5] 🔗  Linking dependencies...\r\n[5/5] 📃  Building fresh packages...\r\n$ cd app && yarn install --force && cd .. && git submodule update --recursive --init && yarn compile:tslint && yarn compile:script\r\nyarn install v1.7.0\r\n[1/4] 🔍  Resolving packages...\r\n[2/4] 🚚  Fetching packages...\r\n[3/4] 🔗  Linking dependencies...\r\n[4/4] 📃  Rebuilding all packages...\r\n[1/4] ⡀ dugite\r\n[2/4] ⡀ keytar\r\n[3/4] ⡀ registry-js\r\nerror /Users/jason/code/desktop/app/node_modules/runas: Command failed.\r\nExit code: 1\r\nCommand: node-gyp rebuild\r\nArguments: \r\nDirectory: /Users/jason/code/desktop/app/node_modules/runas\r\nOutput:\r\ngyp info it worked if it ends with ok\r\ngyp info using node-gyp@3.6.2\r\ngyp info using node@8.11.3 | darwin | x64\r\ngyp info spawn /usr/bin/python\r\ngyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',\r\ngyp info spawn args   'binding.gyp',\r\ngyp info spawn args   '-f',\r\ngyp info spawn args   'make',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/Users/jason/code/desktop/app/node_modules/runas/build/config.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/Users/jason/.node-gyp/iojs-1.8.7/common.gypi',\r\ngyp info spawn args   '-Dlibrary=shared_library',\r\ngyp info spawn args   '-Dvisibility=default',\r\ngyp info spawn args   '-Dnode_root_dir=/Users/jason/.node-gyp/iojs-1.8.7',\r\ngyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',\r\ngyp info spawn args   '-Dnode_lib_file=/Users/jason/.node-gyp/iojs-1.8.7/<(target_arch)/iojs.lib',\r\ngyp info spawn args   '-Dmodule_root_dir=/Users/jason/code/desktop/app/node_modules/runas',\r\ngyp info spawn args   '-Dnode_engine=v8',\r\ngyp info spawn args   '--depth=.',\r\ngyp info spawn args   '--no-parallel',\r\ngyp info spawn args   '--generator-output',\r\ngyp info spawn args   'build',\r\ngyp info spawn args   '-Goutput_dir=.' ]\r\ngyp info spawn make\r\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\r\n  CXX(target) Release/obj.target/runas/src/main.o\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:639:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:58:1: error: templates must have C++ linkage\r\ntemplate<class _Ep>\r\n^~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:639:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:96:1: error: templates must have C++ linkage\r\ntemplate<class _Ep>\r\n^~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:639:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:100:7: error: use of undeclared identifier 'initializer_list'\r\nbegin(initializer_list<_Ep> __il) _NOEXCEPT\r\n      ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:100:24: error: '_Ep' does not refer to a value\r\nbegin(initializer_list<_Ep> __il) _NOEXCEPT\r\n                       ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:96:16: note: declared here\r\ntemplate<class _Ep>\r\n               ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:100:29: error: use of undeclared identifier '__il'\r\nbegin(initializer_list<_Ep> __il) _NOEXCEPT\r\n                            ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:100:34: error: expected ';' at end of declaration\r\nbegin(initializer_list<_Ep> __il) _NOEXCEPT\r\n                                 ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:100:35: error: expected unqualified-id\r\nbegin(initializer_list<_Ep> __il) _NOEXCEPT\r\n                                  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:754:21: note: expanded from macro '_NOEXCEPT'\r\n#  define _NOEXCEPT noexcept\r\n                    ^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:639:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:105:1: error: templates must have C++ linkage\r\ntemplate<class _Ep>\r\n^~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:639:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:109:5: error: use of undeclared identifier 'initializer_list'\r\nend(initializer_list<_Ep> __il) _NOEXCEPT\r\n    ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:109:22: error: '_Ep' does not refer to a value\r\nend(initializer_list<_Ep> __il) _NOEXCEPT\r\n                     ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:105:16: note: declared here\r\ntemplate<class _Ep>\r\n               ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:109:27: error: use of undeclared identifier '__il'\r\nend(initializer_list<_Ep> __il) _NOEXCEPT\r\n                          ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:109:32: error: expected ';' at end of declaration\r\nend(initializer_list<_Ep> __il) _NOEXCEPT\r\n                               ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list:109:33: error: expected unqualified-id\r\nend(initializer_list<_Ep> __il) _NOEXCEPT\r\n                                ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:754:21: note: expanded from macro '_NOEXCEPT'\r\n#  define _NOEXCEPT noexcept\r\n                    ^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:398:1: error: templates must have C++ linkage\r\ntemplate <class _T1, class _T2> struct _LIBCPP_TEMPLATE_VIS pair;\r\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:399:1: error: templates must have C++ linkage\r\ntemplate <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;\r\n^~~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:400:1: error: templates must have C++ linkage\r\ntemplate <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;\r\n^~~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:402:1: error: templates must have C++ linkage\r\ntemplate <class>\r\n^~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:405:1: error: templates must have C++ linkage\r\ntemplate <class _Tp>\r\n^~~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../node_modules/nan/nan.h:48:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:62:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-unix.h:56:\r\nIn file included from /Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv-darwin.h:26:\r\nIn file included from /usr/include/mach/mach.h:67:\r\nIn file included from /usr/include/mach/mach_interface.h:42:\r\nIn file included from /usr/include/mach/clock_priv.h:6:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:\r\nIn file included from /usr/local/include/string.h:26:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:408:1: error: templates must have C++ linkage\r\ntemplate <class _Tp, bool>\r\n^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/jason/.node-gyp/iojs-1.8.7/deps/uv/include/uv.h:27:1: note: extern \"C\" language linkage specification begins here\r\nextern \"C\" {\r\n^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\nmake: *** [Release/obj.target/runas/src/main.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:258:23)\r\ngyp ERR! stack     at emitTwo (events.js:126:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:214:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)\r\ngyp ERR! System Darwin 17.5.0\r\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/jason/code/desktop/app/node_modules/runas\r\ngyp ERR! node -v v8.11.3\r\ngyp ERR! node-gyp -v v3.6.2\r\n\r\n\r\n\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\r\n```"},"comment":{"url":"https://api.github.com/repos/desktop/desktop/issues/comments/403032114","html_url":"https://github.com/desktop/desktop/issues/5107#issuecomment-403032114","issue_url":"https://api.github.com/repos/desktop/desktop/issues/5107","id":403032114,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzAzMjExNA==","user":{"login":"OiYouYeahYou","id":20130059,"node_id":"MDQ6VXNlcjIwMTMwMDU5","avatar_url":"https://avatars2.githubusercontent.com/u/20130059?v=4","gravatar_id":"","url":"https://api.github.com/users/OiYouYeahYou","html_url":"https://github.com/OiYouYeahYou","followers_url":"https://api.github.com/users/OiYouYeahYou/followers","following_url":"https://api.github.com/users/OiYouYeahYou/following{/other_user}","gists_url":"https://api.github.com/users/OiYouYeahYou/gists{/gist_id}","starred_url":"https://api.github.com/users/OiYouYeahYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OiYouYeahYou/subscriptions","organizations_url":"https://api.github.com/users/OiYouYeahYou/orgs","repos_url":"https://api.github.com/users/OiYouYeahYou/repos","events_url":"https://api.github.com/users/OiYouYeahYou/events{/privacy}","received_events_url":"https://api.github.com/users/OiYouYeahYou/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T13:20:23Z","updated_at":"2018-07-06T13:20:23Z","author_association":"CONTRIBUTOR","body":"I seem to have both, and they seem to be the same thing?\r\n\r\n```\r\n$ gcc --version\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 9.1.0 (clang-902.0.39.2)\r\nTarget: x86_64-apple-darwin17.5.0\r\nThread model: posix\r\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\r\n$ clang --version\r\nApple LLVM version 9.1.0 (clang-902.0.39.2)\r\nTarget: x86_64-apple-darwin17.5.0\r\nThread model: posix\r\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\r\n$ which gcc\r\n/usr/bin/gcc\r\n$ which clang\r\n/usr/bin/clang\r\n```"}}
{"actor":{"display_login":"OiYouYeahYou"}}