错误如题,node-gyp官网介绍不够详细,应设置python.exe的具体绝对路径,如下所示:

 

npm config set python G:\Python27\python.exe