All I'm trying to do is installing an npm package called durable. I created a new empty folder and typed in npm install durable
. The following errors occurred.
I tried everything I could find online, I downloaded the VS build tools that include the c++ build tools as you can see in the following picture.
I updated npm and node to the latest version, and I have python already installed. I also updated the VS community to its latest version. I don't know what else to do, if any additional info is needed I'd be glad to provide it.
Finally figured it out. Since I tried many solutions from the internet I seemed to change the msvs version. My environment was all good but I set the version to 2017 instead of 2019.
Worked out by running npm config set msvs_version 2019
Always keep track of the commands and changes you make.