microsoft / nodejs-guidelines

Tips, tricks, and resources for working with Node.js, and the start of an ongoing conversation on how we can improve the Node.js experience on Microsoft platforms.
2.49k stars 280 forks source link

Add instructions on dealing with MSB4019 #57

Closed ivantm closed 8 years ago

ivantm commented 8 years ago

I saw this error when trying to install a project that depended on utf-8-validate:

{my-node-project-dir}\node_modules\bufferutil\build\bufferutil.vcxproj(20,3): error MSB4019: The imported project "C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Despite having followed the instructions listed in this document, the C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Default.props directory didn't exist (it should've been V140, which corresponds to VS 2015).

The solution to this problem was at the bottom of this issue filed against node-gyp, and I thought it'd be useful if it was also highlighted here.