Title: vcbuild fails with non-descriptive error when the registry has stale keys · Issue #14103 · nodejs/node · GitHub
Open Graph Title: vcbuild fails with non-descriptive error when the registry has stale keys · Issue #14103 · nodejs/node
X Title: vcbuild fails with non-descriptive error when the registry has stale keys · Issue #14103 · nodejs/node
Description: Version: master Platform: Windows 10 64-bit Subsystem: build When I run vcbuild or vcbuild vs2017, it results in the following output: Looking for Visual Studio 2017 Found MSVS version 15.0 C:\Python27\python.exe configure --dest-cpu=x64...
Open Graph Description: Version: master Platform: Windows 10 64-bit Subsystem: build When I run vcbuild or vcbuild vs2017, it results in the following output: Looking for Visual Studio 2017 Found MSVS version 15.0 C:\Pyth...
X Description: Version: master Platform: Windows 10 64-bit Subsystem: build When I run vcbuild or vcbuild vs2017, it results in the following output: Looking for Visual Studio 2017 Found MSVS version 15.0 C:\Pyth...
Opengraph URL: https://github.com/nodejs/node/issues/14103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"vcbuild fails with non-descriptive error when the registry has stale keys","articleBody":"\u003c!--\r\nThank you for reporting an issue.\r\n\r\nThis issue tracker is for bugs and issues found within Node.js core.\r\nIf you require more general support please file an issue on our help\r\nrepo. https://github.com/nodejs/help\r\n\r\n\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you are able.\r\n-->\r\n\r\n* **Version**: master\r\n* **Platform**: Windows 10 64-bit\r\n* **Subsystem**: build\r\n\r\n\u003c!-- Enter your issue details below this comment. -->\r\nWhen I run `vcbuild` or `vcbuild vs2017`, it results in the following output:\r\n\r\n```\r\nLooking for Visual Studio 2017\r\nFound MSVS version 15.0\r\nC:\\Python27\\python.exe configure --dest-cpu=x64 --tag=\r\ncreating icu_config.gypi\r\n* Using ICU in deps/icu-small\r\ncreating icu_config.gypi\r\n{ 'target_defaults': { 'cflags': [],\r\n 'default_configuration': 'Release',\r\n 'defines': [],\r\n 'include_dirs': [],\r\n 'libraries': []},\r\n 'variables': { 'asan': 0,\r\n 'coverage': 'false',\r\n 'debug_devtools': 'node',\r\n 'force_dynamic_crt': 0,\r\n 'host_arch': 'x64',\r\n 'icu_data_file': 'icudt59l.dat',\r\n 'icu_data_in': '..\\\\..\\\\deps/icu-small\\\\source/data/in\\\\icudt59l.dat',\r\n 'icu_endianness': 'l',\r\n 'icu_gyp_path': 'tools/icu/icu-generic.gyp',\r\n 'icu_locales': 'en,root',\r\n 'icu_path': 'deps/icu-small',\r\n 'icu_small': 'true',\r\n 'icu_ver_major': '59',\r\n 'node_byteorder': 'little',\r\n 'node_enable_d8': 'false',\r\n 'node_enable_v8_vtunejit': 'false',\r\n 'node_install_npm': 'true',\r\n 'node_module_version': 56,\r\n 'node_no_browser_globals': 'false',\r\n 'node_prefix': '/usr/local',\r\n 'node_release_urlbase': '',\r\n 'node_shared': 'false',\r\n 'node_shared_cares': 'false',\r\n 'node_shared_http_parser': 'false',\r\n 'node_shared_libuv': 'false',\r\n 'node_shared_openssl': 'false',\r\n 'node_shared_zlib': 'false',\r\n 'node_tag': '',\r\n 'node_use_bundled_v8': 'true',\r\n 'node_use_dtrace': 'false',\r\n 'node_use_etw': 'true',\r\n 'node_use_lttng': 'false',\r\n 'node_use_openssl': 'true',\r\n 'node_use_perfctr': 'true',\r\n 'node_use_v8_platform': 'true',\r\n 'node_without_node_options': 'false',\r\n 'openssl_fips': '',\r\n 'openssl_no_asm': 0,\r\n 'shlib_suffix': 'so.56',\r\n 'target_arch': 'x64',\r\n 'v8_enable_gdbjit': 0,\r\n 'v8_enable_i18n_support': 1,\r\n 'v8_enable_inspector': 1,\r\n 'v8_no_strict_aliasing': 1,\r\n 'v8_optimized_debug': 0,\r\n 'v8_promise_internal_field_count': 1,\r\n 'v8_random_seed': 0,\r\n 'v8_use_snapshot': 'true',\r\n 'want_separate_host_toolset': 0,\r\n 'want_separate_host_toolset_mkpeephole': 0}}\r\ncreating config.gypi\r\ncreating config.mk\r\nTraceback (most recent call last):\r\n File \"configure\", line 1406, in \u003cmodule>\r\n run_gyp(gyp_args)\r\n File \"tools\\gyp_node.py\", line 53, in run_gyp\r\n rc = gyp.main(args)\r\n File \"tools\\gyp\\pylib\\gyp\\__init__.py\", line 538, in main\r\n return gyp_main(args)\r\n File \"tools\\gyp\\pylib\\gyp\\__init__.py\", line 523, in gyp_main\r\n generator.GenerateOutput(flat_list, targets, data, params)\r\n File \"tools\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 2032, in GenerateOutput\r\n generator_flags))\r\n File \"tools\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 953, in _GenerateProject\r\n return _GenerateMSBuildProject(project, options, version, generator_flags)\r\n File \"tools\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 3378, in _GenerateMSBuildProject\r\n project_file_name)\r\n File \"tools\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 2714, in _GetMSBuildGlobalProperties\r\n _ConfigWindowsTargetPlatformVersion(configuration, version))\r\n File \"tools\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 311, in _ConfigWindowsTargetPlatformVersion\r\n return names[0]\r\nIndexError: list index out of range\r\nFailed to create vc project files.\r\n```\r\n\r\nI have a \"v10.0\" key under `HKLM\\SOFTWARE\\WOW6432Node\\Microsoft\\Microsoft SDKs\\Windows` (but not under `HKLM\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows`). The `ProductVersion` value under it has data \"10.0.15063\" even though I don't have that specific Windows 10 SDK version installed. I might have previously installed and removed it though. Consequently, I don't have a \"10.0.15063\" directory under `C:\\Program Files (x86)\\Windows Kits\\10\\Include`, so [this line](https://github.com/nodejs/node/blob/d727d5d2cf3182f73c4b8d9b212caba0a6f02930/tools/gyp/pylib/gyp/generator/msvs.py#L309-L310) returns an empty list.","author":{"url":"https://github.com/seishun","@type":"Person","name":"seishun"},"datePublished":"2017-07-06T11:17:44Z","url":"https://github.com/nodejs/node/issues/14103"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dbc82bda-6960-0e94-990e-b3f8a91ab5c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A08A:1E27AA:9F9D61:D5D3B2:6AED30F5 |
| html-safe-nonce | 499fd5d0f77e46cb678752fdc6b16946706c0042f8e71cac0146ee6270871620 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDhBOjFFMjdBQTo5RjlENjE6RDVEM0IyOjZBRUQzMEY1IiwidmlzaXRvcl9pZCI6IjYxMjMyOTY1ODYwNjc2ODU2MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0dc06904deb9503bbb419f9aa0504a5a63aefaa232c1daac44e2de4c40a01e47 |
| hovercard-subject-tag | issue:240923926 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/14103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c95baf1ae63a751700b9e9a6a7da10eb2f7dcc2e554bb307d10bdb7e0a9b4af7/nodejs/node/issues/14103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c95baf1ae63a751700b9e9a6a7da10eb2f7dcc2e554bb307d10bdb7e0a9b4af7/nodejs/node/issues/14103 |
| og:image:alt | Version: master Platform: Windows 10 64-bit Subsystem: build When I run vcbuild or vcbuild vs2017, it results in the following output: Looking for Visual Studio 2017 Found MSVS version 15.0 C:\Pyth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | seishun |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width