You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect visual studio installation using the VSSetup module and
Get-VSSetupInstance method. It works even in systems with the
Constrained language mode of PowerShell.
Copy file name to clipboardExpand all lines: README.md
+3
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ Install tools and configuration manually:
57
57
58
58
To use the native ARM64 C++ compiler on Windows on ARM, ensure that you have Visual Studio 2022 [17.4 or later](https://devblogs.microsoft.com/visualstudio/arm64-visual-studio-is-officially-here/) installed.
59
59
60
+
It's advised to install following Powershell module: [VSSetup](https://github.com./microsoft/vssetup.powershell) using `Install-Module VSSetup -Scope CurrentUser`.
61
+
This will make Visual Studio detection logic to use more flexible and accessible method, avoiding Powershell's `ConstrainedLanguage` mode.
62
+
60
63
### Configuring Python Dependency
61
64
62
65
`node-gyp` requires that you have installed a [supported version of Python](https://devguide.python.org/versions/).
0 commit comments