Node 版本问题
报错:bufferutil@1.3.0 install: node-gyp rebuild
由于我是直接通过 brew install node
安装,默认为最新版本 10.x
,STF 对 node 最新版本没有做到完美兼容,所以需要安装旧版本,建议 8.x 版本。
如何更换 node 版本?
换成 8.11
依然报错。。。再次更换版本为8.14
,问题解决。
$ node -v
v8.14.0
验证
stf doctor
无报错,则说明安装成功。