The imported project "C:\Microsoft.Cpp.Default.props" was not found

Viewed 5578

When trying to npm install node-sass on a new virtual machine I'm getting this error:

The imported project "C:\Microsoft.Cpp.Default.props" was not found.

I've tried multiple solutions as follows:

  • Installing the VS Build Tools
  • installing either LTS, or Current Node.js version.
  • Adding/Setting the VCTargetsPath variable in the registry.
  • Looking for the MSBuild folder (which I don't seem to have)

Yet nothing's worked.

The odd thing is that my old computer can install and run node-sass just fine without having that variable or folder either, so I'm not sure what exactly is the cause of this.

1 Answers
Related