Я пытаюсь установить serialport
через npm i serialport
для моего электронного приложения.
Но я получаю эту ошибку:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v1
41 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution"
Я установил переменную env VCTargetsPath
в C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140
Я также пытался переустановить Toolset v141
, но он тоже не работает.
Кто-нибудь знает другое решение?