2016-09-28 68 views
0

当我尝试做一个NPM安装,我得到以下错误:如何解决故宫MS构建问题

“错误MSB4019:导入项目‘d:\ Microsoft.Cpp.Default.props’找不到,确认声明中的路径是正确的,并且该文件存在于磁盘上。“

我该如何解决?

我试图卸载VS 2015年完全并增加MS构建工具2013年,我仍然得到上述错误:(

回答

0

正如我已经回答了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.

其他的选项在this thread上市。