Node 版本問題
報錯:[email protected] 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
無報錯,則說明安裝成功。