I have been trying to install a package from GitHub for quite some time now and have resolved many node-gyp errors while trying. However, there is still one error that I haven't been able to resolve and that is:
could not use PowerShell to find Visual Studio 2017 or newer
I have installed all the requirements and have PowerShell, Visual Studio C++ 2022, Visual Studio Build Tools 2022, and Visual Studio Community 2022.
The issue is that yarn can not use PowerShell for unknown reasons; therefore, it can not find Visual Studio C++.