Open xXAvoraXx opened 1 year ago
@cclauss what is the solution?
Windows 11 does not see it even though the sdk is installed.
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.
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?]
Try rerunning with --loglevel silly
from #2684
Try rerunning with
--loglevel silly
from #2684
Can you please set both msvs-version
and msvs_version
to the same value? #2644
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
Can you please set both
msvs-version
andmsvs_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 :)
Can you please set both
msvs-version
andmsvs_version
to the same value? #2644You'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.
[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.
Try the answer at the bottom of #2813 -- define the flag CXX=<path to x64 cl.exe>
How should I use this flag, I couldn't find it.
yarn install ? yarn build ?
I would add it to the binding.gyp
file.
[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?
I can not save my changes in npmrc file. How did you manage to add them into that file?
npm config edit
@xXAvoraXx I did try that, but when I open the file again all my changes seem not saved.
@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.
Yes, it is the latest version but still not working.
Yes, it is the latest version but still not working.
try searching for .npmrc files on your computer.
@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.
@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?
@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
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
same issue,
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.
@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.
I had the same issue with @electron
I solved the problem by setting env variable GYP_MSVS_VERSION=2022
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?
"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
@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
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
If nothing works then check if you have the correct version of node installed as per your OS architecture.
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' }