react native 安装第三方的时候报错
gyp ERR! node -v v11.12.0 gyp ERR! node-gyp -v v3.8.0
解决方法
将node版本回退到 8.x.x LTS 版。
例如,若使用 nvm 管理node版本,可使用命令
nvm install v8.11.3
nvm alias default 8.11.3
react native 安装第三方的时候报错
gyp ERR! node -v v11.12.0 gyp ERR! node-gyp -v v3.8.0
解决方法
将node版本回退到 8.x.x LTS 版。
例如,若使用 nvm 管理node版本,可使用命令
nvm install v8.11.3
nvm alias default 8.11.3