ホーム 技術ネタ

brew install mongodbでエラーになったとき

$ brew install mongodb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
itk                                                                                                   yq
==> Deleted Formulae
gmtl

Error: No available formula with the name "mongodb" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
fujisawukenoMBP:html_menu_1 ryosuke-hujisawa$ brew update
Already up-to-date.
fujisawukenoMBP:html_menu_1 ryosuke-hujisawa$ brew install mongodb
Updating Homebrew...
Error: No available formula with the name "mongodb" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
fujisawukenoMBP:html_menu_1 ryosuke-hujisawa$ brew install mongodb-community@4.2
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
git-delta                                                                                             gtk-gnutella

Error: No available formula with the name "mongodb-community@4.2" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

 

とかなった

$ brew tap mongodb/brew
$ brew install mongodb-community@4.2

 

で治った

Pocket
LinkedIn にシェア



技術 x マーケティングの支援ならOFFで一貫支援、承ります。詳しくは下記のURLから↓ ⭐️

マーケティングと、システム開発のプロフェッショナル集団が御社の課題の解決をお手伝いします

-ホーム, 技術ネタ
-, , , ,

Copyright© off , 2020 All Rights Reserved Powered by AFFINGER5.