解决办法 切换到当前项目下即可。 > rm -rf .node-gyp/ > npm install -g node-gyp > rm -rf 项目/node_modules 再次,npm install即可。