I\'m using Windows 8.1. I installed Visual Studio 2015 community edition. When I run npm install -g generator-keystone, I get the error at the bottom. I tried running the foll
I went into Visual Studio and created a Visual C++ project, which installed several libraries. npm install worked after that.
If your project is very old, try a different platform. In one case I changed Project -> Properties -> Platform Toolset from Windows XP to a newer platform, then picked Rebuild Solution.
I went to \Users\[my-user]\.windows-build-tools
- an install file for VS Build-tools was there (for 2017 it's vs_BuildTools.exe
), I ran and installed it.
After that I ran npm install --global --production windows-build-tools
("Option 1" from here).
Then it worked.
I use visual basic 2019 latest version. Couldn't run a project with toolset 140. Insted it pops the message TRK0005: Failed to locate: CL.exe. I change it to 142 and it works.