我也不高興了,喵的~
原因
https://github.com/nodejs/node-gyp/issues/629#issuecomment-151018292
解答
我相信對某些人來說 Visual Studio 是必裝的,不過很多人不是OK?(喵的)而且有 9GB 這麼大(扔)
解答2,大推(最多還是要佔掉4G空間就是,我是被用掉3.3G)
https://github.com/nodejs/node-gyp/issues/629#issuecomment-153196245
下載網址在 https://www.microsoft.com/en-us/download/details.aspx?id=49983
安裝時記得選自訂,還要選安裝SDK

最後設定個環境變數
c:\>npm config set msvs_version 2015 --global
雜感
回過頭來說原作者真是酸度破表卻又不失禮數,沒有問候、4個英文字母、身體的任何部位,真是英文寫作的典範。以下摘錄幾句佳句試譯:
As I said, I'm pretty much a newbie and I don't even know what node-gyp does, but what I DO know is that it's a pain to run Windows and install a project with node-gyp as a dependency.
(如我所言我還是個菜逼巴的新丁,巴啦巴啦巴啦,但是我至少知道在你M$的平台上執行、安裝 node 的專案是有多
It's bizarre that a nodejs developer needs to install visual studio (even the express edition) in order to be able to work on Windows.
(要個 nodejs 的開發者去安裝 VS (即使是最不佔空間的版本
With that being said, I'd like to know from all of you what should we do to make windows users fall in the pit of success?
(說了這麼多,我倒是真的很想知道 M$ 的
PS. npm 基本指令


