Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2022 RC - Unknown Version? #132

Closed
ghost opened this issue Nov 4, 2021 · 1 comment
Closed

Visual Studio 2022 RC - Unknown Version? #132

ghost opened this issue Nov 4, 2021 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Nov 4, 2021

Getting this with node-gyp 8.3.0, which presumably has the patch from PR #124 to fix this.

gyp info it worked if it ends with ok
gyp info using node-gyp@8.3.0
gyp info using node@16.13.0 | win32 | x64
gyp info find Python using Python version 3.10.0 found at "C:\Code\Tools\Python3\python.exe"
gyp ERR! find VS 
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
@ghost
Copy link
Author

ghost commented Nov 5, 2021

Seems to be resolved with node-gyp 8.4.0 that just released, sorry about the confusion here!

@ghost ghost closed this as completed Nov 5, 2021
KallynGowdy added a commit to casual-simulation/casualos that referenced this issue Feb 21, 2022
- Was not in use.
- Had an indirect dependency on epoll which wanted to run a node-gyp build to produce binaries for Windows 11 but epoll is only designed for linux. Also it used a very old version of node-gyp which had a bug (nodejs/gyp-next#132) that prevented it from finding Visual Studio 2022 installations.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant