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




I was getting this error when running npm install.

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

Solution :-

SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140

Thanks to Stackoverflow for this answer! :)







Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type