卸载原有node,如果没装node忽略使用PKG方式安装 node 8.14.0
brew install rethinkdb graphicsmagick zeromq protobuf yasm pkg-config
npm install -g stf
rethinkdb
stf local
localhost:7100
如果无法安装stf,可以尝试:
卸载brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
安装brew
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
参考链接
node历史版本查找:https://nodejs.org/zh-cn/download/releases/
node8.14.0:https://nodejs.org/download/release/v8.14.0/
安装nvm:
https://blog.csdn.net/luntan6788/article/details/79093494
https://blog.csdn.net/m417868/article/details/80006119
https://katopz.medium.com/how-to-install-specific-nodejs-version-c6e1cec8aa11
https://www.jianshu.com/p/e0471aa6672d?utm_campaign=hugo