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
It failed and produced the following messages for 3 .vcxproj files, namely: conpty, conpty_console_list, and pty
npm ERR! C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(504,5): error MSB8040: Spectre-mitigated libraries are required for this project. Install them from the Visual Studio installer (Individual components tab) for any toolsets and architectures being used. Learn more: https://aka.ms/Ofhn4c [<my nodejs path>\bin\node_modules\node-pty\build\conpty.vcxproj]
Luckily, I was able to resolve this with installing MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (v14.38-17.8)
Windows SDK - only the "Desktop C++ Apps" components are needed to be installed
Not only Desktop Development with C++ under "Workloads" tab, but also the corresponding Spectre-mitigated libs under "Individual components" tab are needed
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details.`
The text was updated successfully, but these errors were encountered:
Environment details
1.0.0
Issue description
While installing with npm under node v21.4.0
It failed and produced the following messages for 3
.vcxproj
files, namely:conpty
,conpty_console_list
, andpty
Luckily, I was able to resolve this with installing
MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (v14.38-17.8)
Thus, the Windows Installation Prerequisite description is quite outdated.
Desktop Development with C++
under "Workloads" tab, but also the corresponding Spectre-mitigated libs under "Individual components" tab are neededThe text was updated successfully, but these errors were encountered: