-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Was attempting to build my Electron app for production and after some research ran this command.
npx node-gyp configure --msvs_version=2022 --loglevel silly
And got this:
(it seems the bug is at lib/find-visualstudio.js:153:21)
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli 'C:\\Users\\andre\\GitHub\\core\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'configure',
gyp verb cli '--msvs_version=2022',
gyp verb cli '--loglevel',
gyp verb cli 'silly'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if the py launcher can be used to find Python 3
gyp verb find Python - executing "py.exe" to get Python 3 executable path
gyp sill find Python execFile: exec = "py.exe"
gyp sill find Python execFile: args = ["-3","-c","import sys; print(sys.executable);"]
gyp sill find Python execFile: opts = {"env":{"ALLUSERSPROFILE":"C:\\ProgramData","AMDRMPATH":"C:\\Program Files\\AMD\\RyzenMaster\\","AMDRMSDKPATH":"C:\\Program Files\\AMD\\RyzenMasterSDK\\","APPDATA":"C:\\Users\\andre\\AppData\\Roaming","asl.log":"Destination=file","COLOR":"1","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"ANDREIHP","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","EDITOR":"C:\\WINDOWS\\notepad.exe","HOME":"C:\\Users\\andre","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\andre","INIT_CWD":"C:\\Users\\andre\\GitHub\\core","LOCALAPPDATA":"C:\\Users\\andre\\AppData\\Local","LOGONSERVER":"\\\\ANDREIHP","NODE":"C:\\Program Files\\nodejs\\node.exe","NODE_EXE":"C:\\Program Files\\nodejs\\\\node.exe","NPM_CLI_JS":"C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js","npm_command":"exec","npm_config_cache":"C:\\Users\\andre\\AppData\\Local\\npm-cache","npm_config_globalconfig":"C:\\Users\\andre\\AppData\\Roaming\\npm\\etc\\npmrc","npm_config_global_prefix":"C:\\Users\\andre\\AppData\\Roaming\\npm","npm_config_init_module":"C:\\Users\\andre\\.npm-init.js","npm_config_local_prefix":"C:\\Users\\andre\\GitHub\\core","npm_config_metrics_registry":"https://registry.npmjs.org/","npm_config_node_gyp":"C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js","npm_config_noproxy":"","npm_config_prefix":"C:\\Users\\andre\\AppData\\Roaming\\npm","npm_config_userconfig":"C:\\Users\\andre\\.npmrc","npm_config_user_agent":"npm/9.3.1 node/v18.14.0 win32 x64 workspaces/false","npm_execpath":"C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\bin\\npx-cli.js","npm_lifecycle_event":"npx","npm_lifecycle_script":"node-gyp","npm_node_execpath":"C:\\Program Files\\nodejs\\node.exe","npm_package_json":"C:\\Users\\andre\\GitHub\\core\\package.json","npm_package_name":"echomods","npm_package_version":"0.1.6","NPM_PREFIX_NPX_CLI_JS":"C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npx-cli.js","NPX_CLI_JS":"C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npx-cli.js","NUMBER_OF_PROCESSORS":"16","NVM_HOME":"C:\\Users\\andre\\AppData\\Roaming\\nvm","NVM_SYMLINK":"C:\\Program Files\\nodejs","OneDrive":"C:\\Users\\andre\\OneDrive - Agave\\OneDrive","OnlineServices":"Online Services","OS":"Windows_NT","Path":"C:\\Users\\andre\\GitHub\\core\\node_modules\\.bin;C:\\Users\\andre\\GitHub\\core\\node_modules\\.bin;C:\\Users\\andre\\GitHub\\node_modules\\.bin;C:\\Users\\andre\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Program Files\\PowerShell\\7;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\andre\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\PowerShell\\7-preview\\preview;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Users\\andre\\.cargo\\bin;C:\\Users\\andre\\AppData\\Local\\pnpm;C:\\Users\\andre\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\andre\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\andre\\AppData\\Roaming\\npm;C:\\Users\\andre\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin;C:\\Users\\andre\\.dotnet\\tools;C:\\Users\\andre\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Program Files\\Vim\\vim90","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL","platformcode":"KV","PNPM_HOME":"C:\\Users\\andre\\AppData\\Local\\pnpm","POSH_INSTALLER":"winget","POSH_THEMES_PATH":"C:\\Users\\andre\\AppData\\Local\\Programs\\oh-my-posh\\themes","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Home","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD","PROCESSOR_LEVEL":"23","PROCESSOR_REVISION":"6001","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"C:\\Users\\andre\\Documents\\PowerShell\\Modules;C:\\Program Files\\PowerShell\\Modules;c:\\program files\\powershell\\7\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","QT_SCALE_FACTOR_ROUNDING_POLICY":"RoundPreferFloor","RegionCode":"NA","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\andre\\AppData\\Local\\Temp","TMP":"C:\\Users\\andre\\AppData\\Local\\Temp","USERDOMAIN":"ANDREIHP","USERDOMAIN_ROAMINGPROFILE":"ANDREIHP","USERNAME":"andre","USERPROFILE":"C:\\Users\\andre","VBOX_HWVIRTEX_IGNORE_SVM_IN_USE":"1","windir":"C:\\WINDOWS","__COMPAT_LAYER":"Installer","__PSLockDownPolicy":"4","TERM":"dumb"},"shell":false}
gyp sill find Python execFile result: err = null
gyp sill find Python execFile result: stdout = "C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python312\\python.exe\r\n"
gyp sill find Python execFile result: stderr = ""
gyp verb find Python - executable path is "C:\Users\andre\AppData\Local\Programs\Python\Python312\python.exe"
gyp verb find Python - executing "C:\Users\andre\AppData\Local\Programs\Python\Python312\python.exe" to get version
gyp sill find Python execFile: exec = "C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Python312\\python.exe"
gyp sill find Python execFile: args = ["-c","import sys; print(\"%s.%s.%s\" % sys.version_info[:3]);"]
gyp sill find Python execFile: opts = {"env":{"ALLUSERSPROFILE":"C:\\ProgramData","AMDRMPATH":"C:\\Program Files\\AMD\\RyzenMaster\\","AMDRMSDKPATH":"C:\\Program Files\\AMD\\RyzenMasterSDK\\","APPDATA":"C:\\Users\\andre\\AppData\\Roaming","asl.log":"Destination=file","COLOR":"1","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"ANDREIHP","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","EDITOR":"C:\\WINDOWS\\notepad.exe","HOME":"C:\\Users\\andre","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\andre","INIT_CWD":"C:\\Users\\andre\\GitHub\\core","LOCALAPPDATA":"C:\\Users\\andre\\AppData\\Local","LOGONSERVER":"\\\\ANDREIHP","NODE":"C:\\Program Files\\nodejs\\node.exe","NODE_EXE":"C:\\Program Files\\nodejs\\\\node.exe","NPM_CLI_JS":"C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js","npm_command":"exec","npm_config_cache":"C:\\Users\\andre\\AppData\\Local\\npm-cache","npm_config_globalconfig":"C:\\Users\\andre\\AppData\\Roaming\\npm\\etc\\npmrc","npm_config_global_prefix":"C:\\Users\\andre\\AppData\\Roaming\\npm","npm_config_init_module":"C:\\Users\\andre\\.npm-init.js","npm_config_local_prefix":"C:\\Users\\andre\\GitHub\\core","npm_config_metrics_registry":"https://registry.npmjs.org/","npm_config_node_gyp":"C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js","npm_config_noproxy":"","npm_config_prefix":"C:\\Users\\andre\\AppData\\Roaming\\npm","npm_config_userconfig":"C:\\Users\\andre\\.npmrc","npm_config_user_agent":"npm/9.3.1 node/v18.14.0 win32 x64 workspaces/false","npm_execpath":"C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\bin\\npx-cli.js","npm_lifecycle_event":"npx","npm_lifecycle_script":"node-gyp","npm_node_execpath":"C:\\Program Files\\nodejs\\node.exe","npm_package_json":"C:\\Users\\andre\\GitHub\\core\\package.json","npm_package_name":"echomods","npm_package_version":"0.1.6","NPM_PREFIX_NPX_CLI_JS":"C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npx-cli.js","NPX_CLI_JS":"C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npx-cli.js","NUMBER_OF_PROCESSORS":"16","NVM_HOME":"C:\\Users\\andre\\AppData\\Roaming\\nvm","NVM_SYMLINK":"C:\\Program Files\\nodejs","OneDrive":"C:\\Users\\andre\\OneDrive - Agave\\OneDrive","OnlineServices":"Online Services","OS":"Windows_NT","Path":"C:\\Users\\andre\\GitHub\\core\\node_modules\\.bin;C:\\Users\\andre\\GitHub\\core\\node_modules\\.bin;C:\\Users\\andre\\GitHub\\node_modules\\.bin;C:\\Users\\andre\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\andre\\AppData\\Roaming\\nvm\\v18.14.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Program Files\\PowerShell\\7;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\andre\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\PowerShell\\7-preview\\preview;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Users\\andre\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Users\\andre\\.cargo\\bin;C:\\Users\\andre\\AppData\\Local\\pnpm;C:\\Users\\andre\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\andre\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\andre\\AppData\\Roaming\\npm;C:\\Users\\andre\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin;C:\\Users\\andre\\.dotnet\\tools;C:\\Users\\andre\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Program Files\\Vim\\vim90","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL","platformcode":"KV","PNPM_HOME":"C:\\Users\\andre\\AppData\\Local\\pnpm","POSH_INSTALLER":"winget","POSH_THEMES_PATH":"C:\\Users\\andre\\AppData\\Local\\Programs\\oh-my-posh\\themes","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Home","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD","PROCESSOR_LEVEL":"23","PROCESSOR_REVISION":"6001","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"C:\\Users\\andre\\Documents\\PowerShell\\Modules;C:\\Program Files\\PowerShell\\Modules;c:\\program files\\powershell\\7\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","QT_SCALE_FACTOR_ROUNDING_POLICY":"RoundPreferFloor","RegionCode":"NA","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\andre\\AppData\\Local\\Temp","TMP":"C:\\Users\\andre\\AppData\\Local\\Temp","USERDOMAIN":"ANDREIHP","USERDOMAIN_ROAMINGPROFILE":"ANDREIHP","USERNAME":"andre","USERPROFILE":"C:\\Users\\andre","VBOX_HWVIRTEX_IGNORE_SVM_IN_USE":"1","windir":"C:\\WINDOWS","__COMPAT_LAYER":"Installer","__PSLockDownPolicy":"4","TERM":"dumb"},"shell":false}
gyp sill find Python execFile result: err = null
gyp sill find Python execFile result: stdout = "3.12.0\r\n"
gyp sill find Python execFile result: stderr = ""
gyp verb find Python - version is "3.12.0"
gyp info find Python using Python version 3.12.0 found at "C:\Users\andre\AppData\Local\Programs\Python\Python312\python.exe"
gyp verb get node dir no --target version specified, falling back to host node version: 18.14.0
gyp verb install input version string "18.14.0"
gyp verb install installing version: 18.14.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 11
gyp verb needs "installVersion" 11
gyp verb install version is good
gyp verb on Windows; need to check node.lib
gyp verb get node dir target node version installed: 18.14.0
gyp verb build dir attempting to create "build" dir: C:\Users\andre\GitHub\core\build
gyp verb build dir "build" dir needed to be created? No
gyp verb find VS msvs_version not set from command line or npm config
gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp sill find VS Running C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe [
gyp sill find VS '-ExecutionPolicy',
gyp sill find VS 'Unrestricted',
gyp sill find VS '-NoProfile',
gyp sill find VS '-Command',
gyp sill find VS "&{Add-Type -Path 'C:\\Users\\andre\\GitHub\\core\\node_modules\\node-gyp\\lib\\Find-VisualStudio.cs';[VisualStudioConfiguration.Main]::PrintJson()}"
gyp sill find VS ]
gyp sill find VS PS stderr = "Add-Type : Cannot add type. Definition of new types is not supported in this language mode.\r\nAt line:1 char:3\r\n+ &{Add-Type -Path 'C:\\Users\\andre\\GitHub\\core\\node_modules\\node-gyp\\li ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : PermissionDenied: (:) [Add-Type], PSNotSupportedException\r\n + FullyQualifiedErrorId : CannotDefineNewType,Microsoft.PowerShell.Commands.AddTypeCommand\r\n \r\nUnable to find type [VisualStudioConfiguration.Main].\r\nAt line:1 char:94\r\n+ ... yp\\lib\\Find-VisualStudio.cs';[VisualStudioConfiguration.Main]::PrintJ ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : InvalidOperation: (VisualStudioConfiguration.Main:TypeName) [], RuntimeException\r\n + FullyQualifiedErrorId : TypeNotFound\r\n \r\n"
gyp sill find VS PS stdout = ""
gyp sill find VS SyntaxError: Unexpected end of JSON input
gyp sill find VS at JSON.parse (<anonymous>)
gyp sill find VS at VisualStudioFinder.parseData (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\find-visualstudio.js:153:21)
gyp sill find VS at VisualStudioFinder.findVisualStudio2017OrNewer (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\find-visualstudio.js:132:17)
gyp sill find VS at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
gyp sill find VS at async VisualStudioFinder.findVisualStudio (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\find-visualstudio.js:63:20)
gyp sill find VS at async createBuildDir (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\configure.js:69:26)
gyp sill find VS at async run (C:\Users\andre\GitHub\core\node_modules\node-gyp\bin\node-gyp.js:81:18)
gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
gyp verb find VS looking for Visual Studio 2015
gyp sill reg running C:\WINDOWS\System32\reg.exe [
gyp sill reg 'query',
gyp sill reg 'HKLM\\Software\\Microsoft\\VisualStudio\\SxS\\VC7',
gyp sill reg '/v',
gyp sill reg '14.0'
gyp sill reg ]
gyp sill reg reg.exe stdout = ""
gyp sill reg reg.exe err = "Error: Command failed: C:\\WINDOWS\\System32\\reg.exe query HKLM\\Software\\Microsoft\\VisualStudio\\SxS\\VC7 /v 14.0\nERROR: The system was unable to find the specified registry key or value.\r\n\n at ChildProcess.exithandler (node:child_process:419:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"
gyp sill reg reg.exe stderr = "ERROR: The system was unable to find the specified registry key or value.\r\n"
gyp sill reg running C:\WINDOWS\System32\reg.exe [
gyp sill reg 'query',
gyp sill reg 'HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\SxS\\VC7',
gyp sill reg '/v',
gyp sill reg '14.0'
gyp sill reg ]
gyp sill reg reg.exe stdout = ""
gyp sill reg reg.exe err = "Error: Command failed: C:\\WINDOWS\\System32\\reg.exe query HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\SxS\\VC7 /v 14.0\nERROR: The system was unable to find the specified registry key or value.\r\n\n at ChildProcess.exithandler (node:child_process:419:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"
gyp sill reg reg.exe stderr = "ERROR: The system was unable to find the specified registry key or value.\r\n"
gyp verb find VS - not found
gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\find-visualstudio.js:113:11)
gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\find-visualstudio.js:69:17)
gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
gyp ERR! stack at async createBuildDir (C:\Users\andre\GitHub\core\node_modules\node-gyp\lib\configure.js:69:26)
gyp ERR! stack at async run (C:\Users\andre\GitHub\core\node_modules\node-gyp\bin\node-gyp.js:81:18)
gyp ERR! System Windows_NT 10.0.22635
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\andre\\GitHub\\core\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--msvs_version=2022" "--loglevel" "silly"
gyp ERR! cwd C:\Users\andre\GitHub\core
gyp ERR! node -v v18.14.0
gyp ERR! node-gyp -v v10.0.1
gyp ERR! not ok
mohit497, NightWatchman, RubyZ10, mokagio and Mansour-G