Error: gyp failed with exit code: 1的解决方案
在执行项目使用npm install加载依赖出现一下报错信息
可以采用如下步骤进行解决
1、进入node_modules,删除已经加载完成的node-gyp
2、执行npm i -g node-gyp
3、删除node_modules(执行Remove-Item .\node_modules -Recurse -Force)\可以直接删除包也有效
4、执行npm i -d
wait moment.......
即可成功执行