簡體   English   中英

無法從自制軟件安裝守望者

[英]Cannot install watchman from homebrew

我剛開始使用 react native 開發應用程序。 當我嘗試設置時,我成功下載了 homebrew,但是我無法使用以下命令安裝 watchman 或節點:

brew install node

brew install watchman

這是我的結果:

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "watchman".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

有誰知道如何解決這一問題?

rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core; brew update

我最近遇到了同樣的問題,這解決了我

  1. brew doctor

  2. git -C $(brew --repo homebrew/core) checkout master

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM