首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MacOS自制软件的MongoDB社区问题

MacOS自制软件的MongoDB社区问题
EN

Stack Overflow用户
提问于 2021-10-25 15:05:16
回答 1查看 199关注 0票数 0

关于这款巨无霸:苹果M1 macOS Big Sur Version11.6

自制版本:

代码语言:javascript
复制
some@some ~ % brew -v
Homebrew 3.3.0
Homebrew/homebrew-core (git revision fdd4c67dbc1; last commit 2021-10-25)

警告:

代码语言:javascript
复制
some@some ~ % brew tap mongodb/brew         
==> Tapping mongodb/brew
Cloning into '/opt/homebrew/Library/Taps/mongodb/homebrew-brew'...
remote: Enumerating objects: 760, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 760 (delta 119), reused 127 (delta 70), pack-reused 503
Receiving objects: 100% (760/760), 167.21 KiB | 1.40 MiB/s, done.
Resolving deltas: 100% (357/357), done.
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-database-tools.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@4.2.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@3.6.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@3.2.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@3.4.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@4.0.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community-shell.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the mongodb/brew tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@4.4.rb:10

Tapped 14 formulae (30 files, 231.1KB).

我不能使用mongodb-community@5.0或mongodb-community@4.4

为什么我会收到这些警告?

如何修复这些警告?

EN

回答 1

Stack Overflow用户

发布于 2021-10-25 19:12:53

我遇到了sililar问题,我恢复了它

代码语言:javascript
复制
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

然后按RETURN继续,然后运行以下命令:

代码语言:javascript
复制
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

在我可以运行以下代码之后:

代码语言:javascript
复制
brew install mongodb-community@5.0

和run MongoDB

代码语言:javascript
复制
brew services start mongodb/brew/mongodb-community

在此之后,我可以连接到我的数据库。

当我想阻止MongoDB的时候

代码语言:javascript
复制
brew services stop mongodb/brew/mongodb-community
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69710452

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档