2016-09-28 24 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上市。