在终端启动mongodb
``
brew services start mongodb-community
报如下错误:
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-services /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services
exited with 128.
Error: Failure while executing; /usr/local/bin/brew tap homebrew/services
exited with 1.
解决办法:
sudo chown -R $(whoami) /usr/local/*
brew doctor
参考: https://blog.csdn.net/auccy/article/details/54620454 https://blog.csdn.net/yemao_guyue/article/details/80575532 https://ezlost.com/zsh-%E4%B8%8D%E6%94%AF%E9%80%9A%E9%85%8D%E7%AC%A6%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88zshno-matches-found/ https://ask.csdn.net/questions/697030?sort=id