【问题标题】:"Expo Developer Tools is disconnected from Expo CLI." when trying to run react native project“Expo 开发人员工具已与 Expo CLI 断开连接。”尝试运行本机项目时
【发布时间】:2021-01-16 17:40:28
【问题描述】:

一旦我击中 expo start expo 运行了几秒钟,然后给了我以下错误:

Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:178:28)

我已经做了一些研究,人们说我应该brew install wingman。 问题是,当我尝试这样做时,我得到:

Updating Homebrew...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "wingman".
==> 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.

你们知道我怎样才能让它运行吗?

最好的问候

【问题讨论】:

    标签: react-native expo homebrew


    【解决方案1】:

    我想你可能误读了僚机。尝试重新安装守望者:

    $ brew reinstall watchman

    信用到期:here's a link to the forum I found this in

    【讨论】:

    • 谢谢你
    【解决方案2】:

    更新您的 Expo CLI。

    npm i expo-cli -g
    

    【讨论】:

    • 请在您的回答中去掉全部大写
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-11-16
    • 1970-01-01
    • 2022-08-23
    • 2019-06-05
    • 1970-01-01
    • 2017-09-13
    • 1970-01-01
    相关资源
    最近更新 更多