解决方法:运行npm install -g node-gyp 问题原因:因为node-gyp老版本有bug(据网上说是v5 v6的问题),导致在npm install时报错,运行上述命令会安装8.0.0版本的node-gyp,就可以解决问题