2

When I try to do a npm install, I get the following error:

"error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk."

How do I resolve it?

I tried uninstalling VS 2015 completely and have added MS build tools 2013, still I get the above error :(

Smitha
  • 6,110
  • 24
  • 90
  • 161

2 Answers2

2

As administrator, try installing the windows build tools:

npm install --global --production windows-build-tools  
Tejpal Sharma
  • 432
  • 6
  • 14
0

As I have answered here:

I got the MSB4019 error because I did not have write permissions on C.

Executing the command with admin privileges helped in my case, but changing read/write permissions on C for your Windows user account should also work.

Other options are listed in this thread.

m3rt
  • 159
  • 2
  • 7