nodejs / node-gyp

Node.js native addon build tool
MIT License
9.98k stars 1.8k forks source link

gyp ERR! find VS - does not match this Visual Studio Command Prompt #2819

Open xXAvoraXx opened 1 year ago

xXAvoraXx commented 1 year ago
``` gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info find Python using Python version 3.11.2 found at \"C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\" gyp ERR! find VS gyp ERR! find VS msvs_version not set from command line or npm config gyp ERR! find VS running in VS Command Prompt, installation path is: gyp ERR! find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\" gyp ERR! find VS - will only use this version gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\" gyp ERR! find VS - found \"Visual Studio C++ core features\" gyp ERR! find VS - found VC++ toolset: v143 gyp ERR! find VS - found Windows SDK: 10.0.22000.0 gyp ERR! find VS - does not match this Visual Studio Command Prompt gyp ERR! find VS checking VS2017 (15.9.33423.255) found at: gyp ERR! find VS \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\" gyp ERR! find VS - found \"Visual Studio C++ core features\" gyp ERR! find VS - found VC++ toolset: v141 gyp ERR! find VS - found Windows SDK: 10.0.17763.0 gyp ERR! find VS - does not match this Visual Studio Command Prompt gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use 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 ```

node-gyp: 9.3.1

npm version { npm: '9.6.2', node: '18.15.0', v8: '10.2.154.26-node.25', uv: '1.44.2', zlib: '1.2.13', brotli: '1.0.9', ares: '1.18.1', modules: '108', nghttp2: '1.51.0', napi: '8', llhttp: '6.0.10', uvwasi: '0.0.15', acorn: '8.8.2', simdutf: '3.1.0', undici: '5.20.0', openssl: '3.0.8+quic', cldr: '42.0', icu: '72.1', tz: '2022g', unicode: '15.0', ngtcp2: '0.8.1', nghttp3: '0.7.0' }

xXAvoraXx commented 1 year ago

@cclauss what is the solution?

xXAvoraXx commented 1 year ago

Windows 11 does not see it even though the sdk is installed.

cclauss commented 1 year ago

I don’t use Windows. Can you make a GitHub Action that fails in this way? If we only had a failing test for everyone to focus on, we could come up with a solution.

xXAvoraXx commented 1 year ago

I don’t use Windows. Can you make a GitHub Action that fails in this way? If we only had a failing test for everyone to focus on, we could come up with a solution.

The config set does not work in the new version of npm, I entered the msvs_version value with the help of npm config edit. I entered the environment variable. -> C:\Program Files\Microsoft Visual Studio\2022\Community\VC

gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp ERR! find VS - will only use this version gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp ERR! find VS - found "Visual Studio C++ core features" --> [ done ] gyp ERR! find VS - found VC++ toolset: v143 --> [ done ] gyp ERR! find VS - found Windows SDK: 10.0.22000.0 --> [ done ] gyp ERR! find VS - does not match this Visual Studio Command Prompt --> [why fail?]

cclauss commented 1 year ago

Try rerunning with --loglevel silly from #2684

xXAvoraXx commented 1 year ago

Try rerunning with --loglevel silly from #2684

``` 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\\User\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--loglevel', gyp verb cli 'silly' gyp verb cli ] gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp sill find Python runChecks: err = undefined gyp verb find Python Python is not set from command line or npm configuration gyp sill find Python runChecks: err = undefined gyp verb find Python Python is not set from environment variable PYTHON gyp sill find Python runChecks: err = undefined gyp verb find Python checking if "python3" can be used gyp verb find Python - executing "python3" to get executable path gyp sill find Python execFile: exec = "\"python3\"" gyp sill find Python execFile: args = ["\"-c\"","\"import sys; print(sys.executable);\""] gyp sill find Python execFile: opts = {"env":{"VSCODE_INJECTION":"1","VSCODE_GIT_IPC_HANDLE":"\\\\.\\pipe\\vscode-git-cac0c2a449-sock","VSCODE_GIT_ASKPASS_MAIN":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js","VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_GIT_ASKPASS_NODE":"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","GIT_ASKPASS":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh","COLORTERM":"truecolor","LANG":"en_US.UTF-8","TERM_PROGRAM_VERSION":"1.76.2","TERM_PROGRAM":"vscode","windir":"C:\\WINDOWS","VCINSTALLDIR":"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community","USERPROFILE":"C:\\Users\\User","USERNAME":"User","USERDOMAIN_ROAMINGPROFILE":"DESKTOP-DNQ3TKQ","USERDOMAIN":"DESKTOP-DNQ3TKQ","TMP":"C:\\Users\\User\\AppData\\Local\\Temp","TEMP":"C:\\Users\\User\\AppData\\Local\\Temp","SystemRoot":"C:\\WINDOWS","SystemDrive":"C:","SESSIONNAME":"Console","PUBLIC":"C:\\Users\\Public","PSModulePath":"C:\\Users\\User\\OneDrive\\Belgeler\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","ProgramW6432":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramFiles":"C:\\Program Files","ProgramData":"C:\\ProgramData","PROCESSOR_REVISION":"0802","PROCESSOR_LEVEL":"23","PROCESSOR_IDENTIFIER":"AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD","PROCESSOR_ARCHITECTURE":"AMD64","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL","Path":"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;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\\PuTTY\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\.dotnet\\tools;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm","OS":"Windows_NT","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OneDrive":"C:\\Users\\User\\OneDrive","NUMBER_OF_PROCESSORS":"12","LOGONSERVER":"\\\\DESKTOP-DNQ3TKQ","LOCALAPPDATA":"C:\\Users\\User\\AppData\\Local","HOMEPATH":"\\Users\\User","HOMEDRIVE":"C:","EFC_15744":"1","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","COMPUTERNAME":"DESKTOP-DNQ3TKQ","CommonProgramW6432":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramFiles":"C:\\Program Files\\Common Files","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\LOCAL\\crashpad_12376_DUISVIZAJBTVOQBQ","APPDATA":"C:\\Users\\User\\AppData\\Roaming","ALLUSERSPROFILE":"C:\\ProgramData","TERM":"dumb"},"shell":true} gyp sill find Python execFile result: err = "Error: Command failed: \"python3\" \"-c\" \"import sys; print(sys.executable);\"\nPython bulunamad\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 find Python execFile result: stdout = "" gyp sill find Python execFile result: stderr = "Python bulunamad" gyp verb find Python - "python3" is not in PATH or produced an error gyp sill find Python runChecks: err = "Error: Command failed: \"python3\" \"-c\" \"import sys; print(sys.executable);\"\nPython bulunamad\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 verb find Python checking if "python" can be used gyp verb find Python - executing "python" to get executable path gyp sill find Python execFile: exec = "\"python\"" gyp sill find Python execFile: args = ["\"-c\"","\"import sys; print(sys.executable);\""] gyp sill find Python execFile: opts = {"env":{"VSCODE_INJECTION":"1","VSCODE_GIT_IPC_HANDLE":"\\\\.\\pipe\\vscode-git-cac0c2a449-sock","VSCODE_GIT_ASKPASS_MAIN":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js","VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_GIT_ASKPASS_NODE":"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","GIT_ASKPASS":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh","COLORTERM":"truecolor","LANG":"en_US.UTF-8","TERM_PROGRAM_VERSION":"1.76.2","TERM_PROGRAM":"vscode","windir":"C:\\WINDOWS","VCINSTALLDIR":"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community","USERPROFILE":"C:\\Users\\User","USERNAME":"User","USERDOMAIN_ROAMINGPROFILE":"DESKTOP-DNQ3TKQ","USERDOMAIN":"DESKTOP-DNQ3TKQ","TMP":"C:\\Users\\User\\AppData\\Local\\Temp","TEMP":"C:\\Users\\User\\AppData\\Local\\Temp","SystemRoot":"C:\\WINDOWS","SystemDrive":"C:","SESSIONNAME":"Console","PUBLIC":"C:\\Users\\Public","PSModulePath":"C:\\Users\\User\\OneDrive\\Belgeler\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","ProgramW6432":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramFiles":"C:\\Program Files","ProgramData":"C:\\ProgramData","PROCESSOR_REVISION":"0802","PROCESSOR_LEVEL":"23","PROCESSOR_IDENTIFIER":"AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD","PROCESSOR_ARCHITECTURE":"AMD64","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL","Path":"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;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\\PuTTY\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\.dotnet\\tools;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm","OS":"Windows_NT","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OneDrive":"C:\\Users\\User\\OneDrive","NUMBER_OF_PROCESSORS":"12","LOGONSERVER":"\\\\DESKTOP-DNQ3TKQ","LOCALAPPDATA":"C:\\Users\\User\\AppData\\Local","HOMEPATH":"\\Users\\User","HOMEDRIVE":"C:","EFC_15744":"1","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","COMPUTERNAME":"DESKTOP-DNQ3TKQ","CommonProgramW6432":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramFiles":"C:\\Program Files\\Common Files","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\LOCAL\\crashpad_12376_DUISVIZAJBTVOQBQ","APPDATA":"C:\\Users\\User\\AppData\\Roaming","ALLUSERSPROFILE":"C:\\ProgramData","TERM":"dumb"},"shell":true} gyp sill find Python execFile result: err = null gyp sill find Python execFile result: stdout = "C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\r\n" gyp sill find Python execFile result: stderr = "" gyp verb find Python - executable path is "C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe" gyp verb find Python - executing "C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe" to get version gyp sill find Python execFile: exec = "C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\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":{"VSCODE_INJECTION":"1","VSCODE_GIT_IPC_HANDLE":"\\\\.\\pipe\\vscode-git-cac0c2a449-sock","VSCODE_GIT_ASKPASS_MAIN":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js","VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_GIT_ASKPASS_NODE":"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","GIT_ASKPASS":"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh","COLORTERM":"truecolor","LANG":"en_US.UTF-8","TERM_PROGRAM_VERSION":"1.76.2","TERM_PROGRAM":"vscode","windir":"C:\\WINDOWS","VCINSTALLDIR":"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community","USERPROFILE":"C:\\Users\\User","USERNAME":"User","USERDOMAIN_ROAMINGPROFILE":"DESKTOP-DNQ3TKQ","USERDOMAIN":"DESKTOP-DNQ3TKQ","TMP":"C:\\Users\\User\\AppData\\Local\\Temp","TEMP":"C:\\Users\\User\\AppData\\Local\\Temp","SystemRoot":"C:\\WINDOWS","SystemDrive":"C:","SESSIONNAME":"Console","PUBLIC":"C:\\Users\\Public","PSModulePath":"C:\\Users\\User\\OneDrive\\Belgeler\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","ProgramW6432":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramFiles":"C:\\Program Files","ProgramData":"C:\\ProgramData","PROCESSOR_REVISION":"0802","PROCESSOR_LEVEL":"23","PROCESSOR_IDENTIFIER":"AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD","PROCESSOR_ARCHITECTURE":"AMD64","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL","Path":"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;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\\PuTTY\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\.dotnet\\tools;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm","OS":"Windows_NT","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OneDrive":"C:\\Users\\User\\OneDrive","NUMBER_OF_PROCESSORS":"12","LOGONSERVER":"\\\\DESKTOP-DNQ3TKQ","LOCALAPPDATA":"C:\\Users\\User\\AppData\\Local","HOMEPATH":"\\Users\\User","HOMEDRIVE":"C:","EFC_15744":"1","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","COMPUTERNAME":"DESKTOP-DNQ3TKQ","CommonProgramW6432":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramFiles":"C:\\Program Files\\Common Files","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\LOCAL\\crashpad_12376_DUISVIZAJBTVOQBQ","APPDATA":"C:\\Users\\User\\AppData\\Roaming","ALLUSERSPROFILE":"C:\\ProgramData","TERM":"dumb"},"shell":false} gyp sill find Python execFile result: err = null gyp sill find Python execFile result: stdout = "3.11.2\r\n" gyp sill find Python execFile result: stderr = "" gyp verb find Python - version is "3.11.2" gyp info find Python using Python version 3.11.2 found at "C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe" gyp verb get node dir no --target version specified, falling back to host node version: 18.15.0 gyp verb command install [ '18.15.0' ] gyp verb install input version string "18.15.0" gyp verb install installing version: 18.15.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" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 18.15.0 gyp verb build dir attempting to create "build" dir: F:\Project\project-client\build gyp verb build dir "build" dir needed to be created? Yes gyp verb find VS msvs_version not set from command line or npm config gyp verb find VS running in VS Command Prompt, installation path is: gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp verb find VS - will only use this version 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\\User\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\lib\\Find-VisualStudio.cs';[VisualStudioConfiguration.Main]::PrintJson()}" gyp sill find VS ] gyp sill find VS PS stderr = "" gyp sill find VS processing installation: "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp sill find VS - version match = ["17.5.33502.453","17","5"] gyp sill find VS - found VC.Tools.x86.x64 gyp sill find VS - found Win10/11SDK: 20348 gyp sill find VS - found Win10/11SDK: 22000 gyp sill find VS processing installation: "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" gyp sill find VS - version match = ["17.5.33502.453","17","5"] gyp sill find VS processing installation: "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" gyp sill find VS - version match = ["15.9.33423.255","15","9"] gyp sill find VS - found VC.MSBuild.Base gyp sill find VS - found VC.Tools.x86.x64 gyp sill find VS - found Win10/11SDK: 17763 gyp sill find VS vsInfo: [ gyp sill find VS { gyp sill find VS version: '17.5.33502.453', gyp sill find VS versionMajor: 17, gyp sill find VS versionMinor: 5, gyp sill find VS versionYear: 2022, gyp sill find VS path: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community', gyp sill find VS msBuild: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe', gyp sill find VS toolset: 'v143', gyp sill find VS sdk: '10.0.22000.0' gyp sill find VS }, gyp sill find VS { gyp sill find VS version: '17.5.33502.453', gyp sill find VS versionMajor: 17, gyp sill find VS versionMinor: 5, gyp sill find VS versionYear: 2022, gyp sill find VS path: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools', gyp sill find VS msBuild: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\MSBuild\\Current\\Bin\\MSBuild.exe', gyp sill find VS toolset: null, gyp sill find VS sdk: null gyp sill find VS }, gyp sill find VS { gyp sill find VS version: '15.9.33423.255', gyp sill find VS versionMajor: 15, gyp sill find VS versionMinor: 9, gyp sill find VS versionYear: 2017, gyp sill find VS path: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools', gyp sill find VS msBuild: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\\Bin\\MSBuild.exe', gyp sill find VS toolset: 'v141', gyp sill find VS sdk: '10.0.17763.0' gyp sill find VS } gyp sill find VS ] gyp verb find VS checking VS2022 (17.5.33502.453) found at: gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp verb find VS - found "Visual Studio C++ core features" gyp verb find VS - found VC++ toolset: v143 gyp verb find VS - found Windows SDK: 10.0.22000.0 gyp verb find VS - does not match this Visual Studio Command Prompt gyp verb find VS checking VS2022 (17.5.33502.453) found at: gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" gyp verb find VS - found "Visual Studio C++ core features" gyp verb find VS - missing any VC++ toolset gyp verb find VS checking VS2017 (15.9.33423.255) found at: gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" gyp verb find VS - found "Visual Studio C++ core features" gyp verb find VS - found VC++ toolset: v141 gyp verb find VS - found Windows SDK: 10.0.17763.0 gyp verb find VS - does not match this Visual Studio Command Prompt gyp verb find VS could not find a version of Visual Studio 2017 or newer to use gyp verb find VS looking for Visual Studio 2015 gyp sill reg-search looking for "14.0" in "HKLM\\Software\\Microsoft\\VisualStudio\\SxS\\VC7" 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-search looking for "14.0" in "HKLM\\Software\\Wow6432Node\\Microsoft\\VisualStudio\\SxS\\VC7" 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 running in VS Command Prompt, installation path is: gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp ERR! find VS - will only use this version gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp ERR! find VS - found "Visual Studio C++ core features" gyp ERR! find VS - found VC++ toolset: v143 gyp ERR! find VS - found Windows SDK: 10.0.22000.0 gyp ERR! find VS - does not match this Visual Studio Command Prompt gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" gyp ERR! find VS - found "Visual Studio C++ core features" gyp ERR! find VS - missing any VC++ toolset gyp ERR! find VS checking VS2017 (15.9.33423.255) found at: gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" gyp ERR! find VS - found "Visual Studio C++ core features" gyp ERR! find VS - found VC++ toolset: v141 gyp ERR! find VS - found Windows SDK: 10.0.17763.0 gyp ERR! find VS - does not match this Visual Studio Command Prompt gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use 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\User\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47) gyp ERR! stack at C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16 gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14) gyp ERR! stack at C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14 gyp ERR! stack at C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\find-visualstudio.js:390:16 gyp ERR! stack at C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\util.js:54:7 gyp ERR! stack at C:\Users\User\AppData\Roaming\npm\node_modules\node-gyp\lib\util.js:33:16 gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at maybeClose (node:internal/child_process:1091:16) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--loglevel" "silly" gyp ERR! cwd F:\Project\project-client gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! not ok ```
cclauss commented 1 year ago

Can you please set both msvs-version and msvs_version to the same value? #2644

xXAvoraXx commented 1 year ago

In new versions of npm the below command doesn't work anymore so I don't know if it's correct I entered the config file and added it.

All of are not working on npm 9.6.2

npm config set msvs-version=2022 npm config set msvs-version 2022 npm config set msvs_version=2022 npm config set msvs_version 2022

npm gives that error when I set. npm ERR! msvs-version is not a valid npm option

I added both parameters by typing npm config edit, now I'm waiting for the results. --> yarn install --loglevel silly

xXAvoraXx commented 1 year ago

Can you please set both msvs-version and msvs_version to the same value? #2644

You're perfect, your advice worked, I've been researching this error for days, you should write this solution down.

But now I'm getting another error :)

``` error F:\Project\Project-client\node_modules\grpc: Command failed. Exit code: 1 Command: node-pre-gyp install --fallback-to-build --library=static_library Arguments: Directory: F:\Project\Project-client\node_modules\grpc Output: node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@1.0.10 node-pre-gyp info using node@18.15.0 | win32 | x64 node-pre-gyp info check checked for "F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node" (not found) node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc/v1.24.11/node-v108-win32-x64-unknown.tar.gz node-pre-gyp ERR! install response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc/v1.24.11/node-v108-win32-x64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not installable for grpc@1.24.11 and node@18.15.0 (node-v108 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc/v1.24.11/node-v108-win32-x64-unknown.tar.gz gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info find Python using Python version 3.11.2 found at "C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe" gyp info find VS using VS2022 (17.5.33502.453) found at: gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp info find VS run with --verbose for detailed information gyp info spawn C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe gyp info spawn args [ gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'F:\\Project\\Project-client\\node_modules\\grpc\\build\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\User\\AppData\\Local\\node-gyp\\Cache\\18.15.0\\include\\node\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\Users\\User\\AppData\\Local\\node-gyp\\Cache\\18.15.0', gyp info spawn args '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0\\\\<(target_arch)\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=F:\\Project\\Project-client\\node_modules\\grpc', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'F:\\Project\\Project-client\\node_modules\\grpc\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] F:\Project\Project-client\node_modules\grpc>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "" clean ) F:\Project\Project-client\node_modules\grpc>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108 --msvs_version=2022 ) else (node "" configure --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108 --msvs_version=2022 ) gyp info ok F:\Project\Project-client\node_modules\grpc>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108 ) else (node "" build --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108 ) gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin gyp info spawn args [ gyp info spawn args 'build/binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin ENOENT gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19) gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108" gyp ERR! cwd F:\Project\Project-client\node_modules\grpc gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd build --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (7) node-pre-gyp ERR! stack at ChildProcess. (F:\Project\Project-client\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23) node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28) node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16) node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) node-pre-gyp ERR! System Windows_NT 10.0.22621 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "F:\\Project\\Project-client\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd F:\Project\Project-client\node_modules\grpc node-pre-gyp ERR! node -v v18.15.0 node-pre-gyp ERR! node-pre-gyp -v v1.0.10 node-pre-gyp ERR! not ok warning Error running install script for optional dependency: "F:\\Project\\Project-client\\node_modules\\tree-sitter-json: Command failed. Exit code: 7 Command: node-gyp rebuild Arguments: Directory: F:\\Project\\Project-client\\node_modules\\tree-sitter-json Output: F:\\Project\\Project-client\\node_modules\\tree-sitter-json>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"\" rebuild ) gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info find Python using Python version 3.11.2 found at \"C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\" gyp info find VS using VS2022 (17.5.33502.453) found at: gyp info find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\" gyp info find VS run with --verbose for detailed information gyp info spawn C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe gyp info spawn args [ gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-json\\\\build\\\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0\\\\include\\\\node\\\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0', gyp info spawn args '-Dnode_gyp_dir=C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\User\\\\\\\\AppData\\\\\\\\Local\\\\\\\\node-gyp\\\\\\\\Cache\\\\\\\\18.15.0\\\\\\\\<(target_arch)\\\\\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-json', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-json\\\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin gyp info spawn args [ gyp info spawn args 'build/binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin ENOENT gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19) gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" gyp ERR! cwd F:\\Project\\Project-client\\node_modules\\tree-sitter-json gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author." info This module is OPTIONAL, you can safely ignore this error warning Error running install script for optional dependency: "F:\\Project\\Project-client\\node_modules\\tree-sitter-yaml: Command failed. Exit code: 7 Command: node-gyp rebuild Arguments: Directory: F:\\Project\\Project-client\\node_modules\\tree-sitter-yaml Output: F:\\Project\\Project-client\\node_modules\\tree-sitter-yaml>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"\" rebuild ) gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info find Python using Python version 3.11.2 found at \"C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\" gyp info find VS using VS2022 (17.5.33502.453) found at: gyp info find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\" gyp info find VS run with --verbose for detailed information gyp info spawn C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe gyp info spawn args [ gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-yaml\\\\build\\\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0\\\\include\\\\node\\\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0', gyp info spawn args '-Dnode_gyp_dir=C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\User\\\\\\\\AppData\\\\\\\\Local\\\\\\\\node-gyp\\\\\\\\Cache\\\\\\\\18.15.0\\\\\\\\<(target_arch)\\\\\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-yaml', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter-yaml\\\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin gyp info spawn args [ gyp info spawn args 'build/binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin ENOENT gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19) gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" gyp ERR! cwd F:\\Project\\Project-client\\node_modules\\tree-sitter-yaml gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author." info This module is OPTIONAL, you can safely ignore this error warning Error running install script for optional dependency: "F:\\Project\\Project-client\\node_modules\\tree-sitter: Command failed. Exit code: 7 Command: prebuild-install || node-gyp rebuild Arguments: Directory: F:\\Project\\Project-client\\node_modules\\tree-sitter Output: prebuild-install WARN install No prebuilt binaries found (target=18.15.0 runtime=node arch=x64 libc= platform=win32) F:\\Project\\Project-client\\node_modules\\tree-sitter>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"\" rebuild ) gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.15.0 | win32 | x64 gyp info find Python using Python version 3.11.2 found at \"C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe\" gyp info find VS using VS2022 (17.5.33502.453) found at: gyp info find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\" gyp info find VS run with --verbose for detailed information gyp info spawn C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python311\\python.exe gyp info spawn args [ gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter\\\\build\\\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0\\\\include\\\\node\\\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.15.0', gyp info spawn args '-Dnode_gyp_dir=C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\User\\\\\\\\AppData\\\\\\\\Local\\\\\\\\node-gyp\\\\\\\\Cache\\\\\\\\18.15.0\\\\\\\\<(target_arch)\\\\\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'F:\\\\Project\\\\Project-client\\\\node_modules\\\\tree-sitter\\\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin gyp info spawn args [ gyp info spawn args 'build/binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin ENOENT gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19) gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" gyp ERR! cwd F:\\Project\\Project-client\\node_modules\\tree-sitter gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author." info This module is OPTIONAL, you can safely ignore this error ```
xXAvoraXx commented 1 year ago

Can you please set both msvs-version and msvs_version to the same value? #2644

You're perfect, your advice worked, I've been researching this error for days, you should write this solution down.

But now I'm getting another error :)

I solved this error, fixed the msbuild-path and it worked. But it took too long to compile and it failed again.

msbuild-path=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe

grpc failed.

xXAvoraXx commented 1 year ago

[FOR NPM 9.6.2] NPM VER >= 9 It worked when I entered the solution you suggested by following the path below for the config settings.

npm config edit Then the .npmrc file was opened as notepad and I entered the following values.

msvs-version=2022
msbuild-path=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe

What was the exact error from grpc?

The error is below.

``` F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\security\credentials\credentials.h(217,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpclb_client_stats.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] load_balancer_api.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] load_balancer.upb.c fake_resolver.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] xds.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] xds_channel_secure.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\security\credentials\credentials.h(217,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] xds_client_stats.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] xds_load_balancer_api.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\lb_policy\xds\xds_load_balancer_api.cc(61,16): warning C4018: '<': i aretli/i aretsiz uyu mazl [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] cert.upb.c cds.upb.c circuit_breaker.upb.c filter.upb.c outlier_detection.upb.c discovery.upb.c eds.upb.c endpoint.upb.c load_report.upb.c ads.upb.c lrs.upb.c address.upb.c base.upb.c config_source.upb.c grpc_service.upb.c health_check.upb.c http_uri.upb.c protocol.upb.c percent.upb.c range.upb.c pick_first.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] round_robin.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam s n f, statik olmayan veri yeleri, ye sabit listeleri veya ye s n flar d nda ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] dns_resolver_ares.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_ares_ev_driver.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_ares_ev_driver_libuv.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_ares_ev_driver_posix.cc grpc_ares_ev_driver_windows.cc grpc_ares_wrapper.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_ares_wrapper_fallback.cc grpc_ares_wrapper_libuv.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_ares_wrapper_posix.cc grpc_ares_wrapper_windows.cc dns_resolver_selection.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] dns_resolver.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] sockaddr_resolver.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] xds_resolver.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_context.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] client_idle_filter.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] max_age_filter.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] message_size_filter.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] client_authority_filter.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] workaround_cronet_compression_filter.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] workaround_utils.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj] grpc_plugin_registry.cc win_delay_load_hook.cc grpc.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libgrpc.lib alloc.cc atm.cc cpu_iphone.cc cpu_linux.cc cpu_posix.cc cpu_windows.cc env_linux.cc env_posix.cc env_windows.cc log.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] log_android.cc log_linux.cc log_posix.cc log_windows.cc mpscq.cc murmur_hash.cc string.cc string_posix.cc string_util_windows.cc string_windows.cc sync.cc sync_posix.cc sync_windows.cc time.cc time_posix.cc time_precise.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gpr\time_precise.cc(34,32): warning C4067: n i lemci y nergesinden sonra beklenmeyen belirte ler var - sat r sonu bekleniyordu [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] time_windows.cc tls_pthread.cc tmpfile_msys.cc tmpfile_posix.cc tmpfile_windows.cc wrap_memcpy.cc arena.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] fork.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] global_config_env.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] host_port.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] thd_posix.cc thd_windows.cc F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f ablon rne i olu turma 'grpc_core::Allocator' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj] basic_timers.cc stap_timers.cc win_delay_load_hook.cc gpr.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libgpr.lib ares__close_sockets.c ares__get_hostent.c F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares__get_hostent.c(141,32): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj] ares__read_line.c ares__timeval.c ares_cancel.c ares_create_query.c ares_data.c ares_destroy.c ares_expand_name.c ares_expand_string.c ares_fds.c ares_free_hostent.c ares_free_string.c ares_getenv.c ares_gethostbyaddr.c ares_gethostbyname.c F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares_gethostbyname.c(275,32): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj] ares_getnameinfo.c ares_getopt.c ares_getsock.c ares_init.c F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares_init.c(2421,18): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj] ares_library_init.c ares_llist.c ares_mkquery.c ares_nowarn.c ares_options.c ares_parse_a_reply.c ares_parse_aaaa_reply.c ares_parse_mx_reply.c ares_parse_naptr_reply.c ares_parse_ns_reply.c ares_parse_ptr_reply.c ares_parse_soa_reply.c ares_parse_srv_reply.c ares_parse_txt_reply.c ares_platform.c ares_process.c ares_query.c ares_search.c ares_send.c ares_strcasecmp.c ares_strdup.c ares_strerror.c ares_strsplit.c ares_timeout.c ares_version.c ares_writev.c bitncmp.c inet_net_pton.c inet_ntop.c windows_port.c win_delay_load_hook.cc ares.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libares.lib address_sorting.c address_sorting_posix.c address_sorting_windows.c win_delay_load_hook.cc address_sorting.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libaddress_sorting.lib err_data.c F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(147,1): warning C4005: 'OPENSSL_VERSION_NUMBER': makro yeniden tan mlama [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\archs\VC-WIN64A\no-asm\include\openssl\opensslv.h(103,1): message : nceki 'OPENSSL_VERSION_NUMBER' tan m na bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\e_os2.h(183,1): warning C4005: 'OPENSSL_EXPORT': makro yeniden tan mlama [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(182,1): message : nceki 'OPENSSL_EXPORT' tan m na bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(103,26): error C2371: 'EVP_MD': yeniden tan mlama; temel t rler farkl [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(304,26): message : 'EVP_MD' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(104,30): error C2371: 'EVP_MD_CTX': yeniden tan mlama; temel t rler farkl [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(303,30): message : 'EVP_MD_CTX' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(130,34): error C2371: 'EVP_ENCODE_CTX': yeniden tan mlama; temel t rler farkl [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(308,34): message : 'EVP_ENCODE_CTX' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\archs\VC-WIN64A\no-asm\include\openssl\crypto.h(308,3): error C2371: 'CRYPTO_THREADID': yeniden tan mlama; temel t rler farkl [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231,13): message : 'CRYPTO_THREADID' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(33,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(34,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(35,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(36,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(37,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(38,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(39,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2065: 'ERR_LIB_PKCS8': bildirimi yap lmam tan mlay c [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(41,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(42,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(43,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(44,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(45,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(46,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(47,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(48,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(49,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2065: 'ERR_LIB_DIGEST': bildirimi yap lmam tan mlay c [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2065: 'ERR_LIB_CIPHER': bildirimi yap lmam tan mlay c [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2065: 'ERR_LIB_HKDF': bildirimi yap lmam tan mlay c [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(53,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2065: 'ERR_NUM_LIBS': bildirimi yap lmam tan mlay c [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c inftrees.c trees.c uncompr.c zutil.c win_delay_load_hook.cc z.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libz.lib gyp ERR! build error gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108" gyp ERR! cwd F:\Project\Project-client\node_modules\grpc gyp ERR! node -v v18.15.0 gyp ERR! node-gyp -v v9.3.1 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd build --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1) node-pre-gyp ERR! stack at ChildProcess. (F:\Project\Project-client\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23) node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28) node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16) node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) node-pre-gyp ERR! System Windows_NT 10.0.22621 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "F:\\Project\\Project-client\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd F:\Project\Project-client\node_modules\grpc node-pre-gyp ERR! node -v v18.15.0 node-pre-gyp ERR! node-pre-gyp -v v1.0.10 node-pre-gyp ERR! not ok ```
cclauss commented 1 year ago

Try the answer at the bottom of #2813 -- define the flag CXX=<path to x64 cl.exe>

xXAvoraXx commented 1 year ago

How should I use this flag, I couldn't find it.

yarn install ? yarn build ?

cclauss commented 1 year ago

I would add it to the binding.gyp file.

cemdenizsel commented 1 year ago

[FOR NPM 9.6.2] NPM VER >= 9 It worked when I entered the solution you suggested by following the path below for the config settings.

npm config edit Then the .npmrc file was opened as notepad and I entered the following values.

msvs-version=2022
msbuild-path=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe

What was the exact error from grpc?

The error is below.

F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\security\credentials\credentials.h(217,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpclb_client_stats.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  load_balancer_api.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  load_balancer.upb.c
  fake_resolver.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  xds.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  xds_channel_secure.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\security\credentials\credentials.h(217,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  xds_client_stats.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  xds_load_balancer_api.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\lb_policy\xds\xds_load_balancer_api.cc(61,16): warning C4018: '<': i aretli/i aretsiz uyu mazl    [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  cert.upb.c
  cds.upb.c
  circuit_breaker.upb.c
  filter.upb.c
  outlier_detection.upb.c
  discovery.upb.c
  eds.upb.c
  endpoint.upb.c
  load_report.upb.c
  ads.upb.c
  lrs.upb.c
  address.upb.c
  base.upb.c
  config_source.upb.c
  grpc_service.upb.c
  health_check.upb.c
  http_uri.upb.c
  protocol.upb.c
  percent.upb.c
  range.upb.c
  pick_first.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  round_robin.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\ext\filters\client_channel\connector.h(45,16): warning C5208: TypeDef ad nda kullan lan adland r lmam   s n f, statik olmayan veri  yeleri,  ye sabit listeleri veya  ye s n flar  d   nda  ye bildiremez [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  dns_resolver_ares.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_ares_ev_driver.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_ares_ev_driver_libuv.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_ares_ev_driver_posix.cc
  grpc_ares_ev_driver_windows.cc
  grpc_ares_wrapper.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_ares_wrapper_fallback.cc
  grpc_ares_wrapper_libuv.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_ares_wrapper_posix.cc
  grpc_ares_wrapper_windows.cc
  dns_resolver_selection.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  dns_resolver.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  sockaddr_resolver.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  xds_resolver.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_context.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  client_idle_filter.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  max_age_filter.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  message_size_filter.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  client_authority_filter.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  workaround_cronet_compression_filter.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  workaround_utils.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\grpc.vcxproj]
  grpc_plugin_registry.cc
  win_delay_load_hook.cc
  grpc.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libgrpc.lib
  alloc.cc
  atm.cc
  cpu_iphone.cc
  cpu_linux.cc
  cpu_posix.cc
  cpu_windows.cc
  env_linux.cc
  env_posix.cc
  env_windows.cc
  log.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  log_android.cc
  log_linux.cc
  log_posix.cc
  log_windows.cc
  mpscq.cc
  murmur_hash.cc
  string.cc
  string_posix.cc
  string_util_windows.cc
  string_windows.cc
  sync.cc
  sync_posix.cc
  sync_windows.cc
  time.cc
  time_posix.cc
  time_precise.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gpr\time_precise.cc(34,32): warning C4067:  n i lemci y nergesinden sonra beklenmeyen belirte ler var - sat r sonu bekleniyordu [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  time_windows.cc
  tls_pthread.cc
  tmpfile_msys.cc
  tmpfile_posix.cc
  tmpfile_windows.cc
  wrap_memcpy.cc
  arena.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  fork.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  global_config_env.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  host_port.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  thd_posix.cc
  thd_windows.cc
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(116,42): warning C4996: 'std::allocator<void>::const_pointer': warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to suppress this warning. [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\core\lib\gprpp\memory.h(133,2): message : derlenen s n f  ablon  rne i olu turma 'grpc_core::Allocator<T>' ba vurusuna bak n [F:\Project\Project-client\node_modules\grpc\build\gpr.vcxproj]
  basic_timers.cc
  stap_timers.cc
  win_delay_load_hook.cc
  gpr.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libgpr.lib
  ares__close_sockets.c
  ares__get_hostent.c
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares__get_hostent.c(141,32): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj]
  ares__read_line.c
  ares__timeval.c
  ares_cancel.c
  ares_create_query.c
  ares_data.c
  ares_destroy.c
  ares_expand_name.c
  ares_expand_string.c
  ares_fds.c
  ares_free_hostent.c
  ares_free_string.c
  ares_getenv.c
  ares_gethostbyaddr.c
  ares_gethostbyname.c
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares_gethostbyname.c(275,32): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj]
  ares_getnameinfo.c
  ares_getopt.c
  ares_getsock.c
  ares_init.c
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\cares\cares\ares_init.c(2421,18): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [F:\Project\Project-client\node_modules\grpc\build\ares.vcxproj]
  ares_library_init.c
  ares_llist.c
  ares_mkquery.c
  ares_nowarn.c
  ares_options.c
  ares_parse_a_reply.c
  ares_parse_aaaa_reply.c
  ares_parse_mx_reply.c
  ares_parse_naptr_reply.c
  ares_parse_ns_reply.c
  ares_parse_ptr_reply.c
  ares_parse_soa_reply.c
  ares_parse_srv_reply.c
  ares_parse_txt_reply.c
  ares_platform.c
  ares_process.c
  ares_query.c
  ares_search.c
  ares_send.c
  ares_strcasecmp.c
  ares_strdup.c
  ares_strerror.c
  ares_strsplit.c
  ares_timeout.c
  ares_version.c
  ares_writev.c
  bitncmp.c
  inet_net_pton.c
  inet_ntop.c
  windows_port.c
  win_delay_load_hook.cc
  ares.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libares.lib
  address_sorting.c
  address_sorting_posix.c
  address_sorting_windows.c
  win_delay_load_hook.cc
  address_sorting.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libaddress_sorting.lib
  err_data.c
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(147,1): warning C4005: 'OPENSSL_VERSION_NUMBER': makro yeniden tan mlama [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\archs\VC-WIN64A\no-asm\include\openssl\opensslv.h(103,1): message :  nceki 'OPENSSL_VERSION_NUMBER' tan m na bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\e_os2.h(183,1): warning C4005: 'OPENSSL_EXPORT': makro yeniden tan mlama [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] 
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(182,1): message :  nceki 'OPENSSL_EXPORT' tan m na bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(103,26): error C2371: 'EVP_MD': yeniden tan mlama; temel t rler farkl  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(304,26): message : 'EVP_MD' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]    
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(104,30): error C2371: 'EVP_MD_CTX': yeniden tan mlama; temel t rler farkl  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(303,30): message : 'EVP_MD_CTX' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\types.h(130,34): error C2371: 'EVP_ENCODE_CTX': yeniden tan mlama; temel t rler farkl  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(308,34): message : 'EVP_ENCODE_CTX' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
C:\Users\User\AppData\Local\node-gyp\Cache\18.15.0\include\node\openssl\archs\VC-WIN64A\no-asm\include\openssl\crypto.h(308,3): error C2371: 'CRYPTO_THREADID': yeniden tan mlama; temel t rler farkl  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\third_party\boringssl\include\openssl\base.h(231,13): message : 'CRYPTO_THREADID' bildirimine bak n [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(33,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(34,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(35,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(36,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(37,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(38,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(39,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2065: 'ERR_LIB_PKCS8': bildirimi yap lmam   tan mlay c  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(40,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(41,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(42,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(43,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(44,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(45,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(46,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(47,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(48,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(49,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2065: 'ERR_LIB_DIGEST': bildirimi yap lmam   tan mlay c  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(50,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2065: 'ERR_LIB_CIPHER': bildirimi yap lmam   tan mlay c  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(51,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2065: 'ERR_LIB_HKDF': bildirimi yap lmam   tan mlay c  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] 
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(52,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(53,1): error C2118: negatif indis [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2065: 'ERR_NUM_LIBS': bildirimi yap lmam   tan mlay c  [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj] 
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2057: sabit ifade bekleniyor [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
F:\Project\Project-client\node_modules\grpc\deps\grpc\src\boringssl\err_data.c(54,1): error C2466: sabit boyutu 0 olan bir dizi ayr lamaz [F:\Project\Project-client\node_modules\grpc\build\boringssl.vcxproj]
  adler32.c
  compress.c
  crc32.c
  deflate.c
  gzclose.c
  gzlib.c
  gzread.c
  gzwrite.c
  infback.c
  inffast.c
  inflate.c
  inftrees.c
  trees.c
  uncompr.c
  zutil.c
  win_delay_load_hook.cc
  z.vcxproj -> F:\Project\Project-client\node_modules\grpc\build\Release\\libz.lib
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Windows_NT 10.0.22621
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=F:\\Project\\Project-client\\node_modules\\grpc\\src\\node\\extension_binary\\node-v108-win32-x64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
gyp ERR! cwd F:\Project\Project-client\node_modules\grpc
gyp ERR! node -v v18.15.0
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd build --fallback-to-build --library=static_library --module=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=F:\Project\Project-client\node_modules\grpc\src\node\extension_binary\node-v108-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (F:\Project\Project-client\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Windows_NT 10.0.22621
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "F:\\Project\\Project-client\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"        
node-pre-gyp ERR! cwd F:\Project\Project-client\node_modules\grpc
node-pre-gyp ERR! node -v v18.15.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.10
node-pre-gyp ERR! not ok

I can not save my changes in npmrc file. How did you manage to add them into that file?

xXAvoraXx commented 1 year ago

I can not save my changes in npmrc file. How did you manage to add them into that file?

npm config edit

cemdenizsel commented 1 year ago

@xXAvoraXx I did try that, but when I open the file again all my changes seem not saved.

xXAvoraXx commented 1 year ago

@xXAvoraXx I did try that, but when I open the file again all my changes seem not saved.

Have you tried updating the npm latest version? I guess the npmrc file is referencing it from elsewhere.

cemdenizsel commented 1 year ago

Yes, it is the latest version but still not working.

xXAvoraXx commented 1 year ago

Yes, it is the latest version but still not working.

try searching for .npmrc files on your computer.

cemdenizsel commented 1 year ago

@a

Yes, it is the latest version but still not working.

try searching for .npmrc files on your computer.

I also did it and tried to add them manually through notepad. I save it and when I reopen it changes are not done.

xXAvoraXx commented 1 year ago

@A

Yes, it is the latest version but still not working.

try searching for .npmrc files on your computer.

I also did it and tried to add them manually through notepad. I save it and when I reopen it changes are not done.

Run the console screen as admin and try again. It's interesting that the changes you make in the npm config don't register.

Can you share the error you got here?

cemdenizsel commented 1 year ago

@xXAvoraXx
gyp ERR! build error gyp ERR! stack Error:C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exefailed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Windows_NT 10.0.19045 gyp ERR! command \"C:\\\\Program Files (x86)\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files (x86)\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"

Here are my errors. I did all your recommendations though. Thanks for your support.

xXAvoraXx commented 1 year ago

@xXAvoraXx gyp ERR! build error gyp ERR! stack Error:C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exefailed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Windows_NT 10.0.19045 gyp ERR! command \"C:\\\\Program Files (x86)\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files (x86)\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"

Here are my errors. I did all your recommendations though. Thanks for your support.

variable name: VCINSTALLDIR variable: C:\Program Files\Microsoft Visual Studio\2022\Community\VC

Yongle-Fu commented 1 year ago

same issue,

JoshMayberry commented 1 year ago

I was getting this error when running things in VS Code. Once I ran it in the actual Visual Studio program, I did not get this error any more.

SarthakSKumar commented 1 year ago

@A

Yes, it is the latest version but still not working.

try searching for .npmrc files on your computer.

I also did it and tried to add them manually through notepad. I save it and when I reopen it changes are not done.

Same issue with node 18.16.0. I installed node 17.9.1 with nvm, and npm config set command works now. Still figuring out what was the actual issue.

fasergeyte commented 1 year ago

I had the same issue with @electron I solved the problem by setting env variable GYP_MSVS_VERSION=2022

derzhavets commented 1 year ago

I am on Windows 10, using only one VS installation (Visual Studio 2022 Community), and the issue still remains.

Here is the log: gyp info using node-gyp@9.4.0 gyp info using node@18.17.0 | win32 | x64 gyp info find Python using Python version 3.11.4 found at "C:\Users\Michael\AppData\Local\Programs\Python\Python311\python.exe" ...... gyp verb find VS msvs_version not set from command line or npm config gyp verb find VS running in VS Command Prompt, installation path is: gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp verb find VS - will only use this version 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\Michael\projects\electron_app\node_modules\node-gyp\lib\Find-VisualStudio.cs';[VisualStudioConfiguration.Main]::PrintJson()}" gyp sill find VS ] gyp sill find VS PS stderr = "" gyp sill find VS processing installation: "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp sill find VS - version match = ["17.7.34031.279","17","7"] gyp sill find VS - found VC.Tools.x86.x64 gyp sill find VS - found Win10/11SDK: 20348 gyp sill find VS - found Win10/11SDK: 22621 gyp sill find VS vsInfo: [ gyp sill find VS { gyp sill find VS version: '17.7.34031.279', gyp sill find VS versionMajor: 17, gyp sill find VS versionMinor: 7, gyp sill find VS versionYear: 2022, gyp sill find VS path: 'C:\Program Files\Microsoft Visual Studio\2022\Community', gyp sill find VS msBuild: 'C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe', gyp sill find VS toolset: 'v143', gyp sill find VS sdk: '10.0.22621.0' gyp sill find VS } gyp sill find VS ] gyp verb find VS checking VS2022 (17.7.34031.279) found at: gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp verb find VS - found "Visual Studio C++ core features" gyp verb find VS - found VC++ toolset: v143 gyp verb find VS - found Windows SDK: 10.0.22621.0 gyp verb find VS - does not match this Visual Studio Command Prompt

So it is running VS Command Prompt from the installation folder, getting build tools from the same folder, checking VS version from the same folder, and it doesn't match? How is this possible?

Don't know if this related, but msvs_version is also configured, running "npm config get msvs_version" returns "2022". Don't know why it can't see it.

Any ideas how to fix it?

cclauss commented 1 year ago

"npm config get msvs_version" returns "2022".

% npm config list -l | grep msvs # Returns zero hits.

https://github.com/nodejs/node-gyp/issues/2803#issuecomment-1728893777

anudeepreddy commented 1 year ago

@derzhavets is the VCINSTALLDIR env variable set in your shell? Try using Developer Powershell for VS2022, this shell will have all the necessary env set. Give this a try and let me know if it works

maheshsivast commented 6 months ago

I don’t use Windows. Can you make a GitHub Action that fails in this way? If we only had a failing test for everyone to focus on, we could come up with a solution.

The config set does not work in the new version of npm, I entered the msvs_version value with the help of npm config edit. I entered the environment variable. -> C:\Program Files\Microsoft Visual Studio\2022\Community\VC

gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp ERR! find VS - will only use this version gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp ERR! find VS - found "Visual Studio C++ core features" --> [ done ] gyp ERR! find VS - found VC++ toolset: v143 --> [ done ] gyp ERR! find VS - found Windows SDK: 10.0.22000.0 --> [ done ] gyp ERR! find VS - does not match this Visual Studio Command Prompt --> [why fail?]

The problem is gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022" gyp ERR! find VS - will only use this version gyp ERR! find VS checking VS2022 (17.5.33502.453) found at: gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"

Values in line 1 and 4 has to match, use the below command set VCINSTALLDIR="C:\Program Files\Microsoft Visual Studio\2022\Community\VC"

Should solve

gitSambhal commented 1 month ago

If nothing works then check if you have the correct version of node installed as per your OS architecture.