Msvs_version not set, VCINSALLDIR not set, unknown version ‘undefined’ found at ….

Msvs_version not set, VCINSALLDIR not set, unknown version ‘undefined’ found at ….

Here are few things to try –

  • Install Visual Studio Community edition with payload “Desktop development with C++”.

  • Set up node-gyp on your machine. Follow this url. For Windows here are the steps –

 

 

Once node-gyp is setup, upgrade your dependencies to latest version that are supported by the installed node-gyp. Otherwise install node-gyp of compatible version in previous step.