【问题标题】:Tunnel URL not found, falled back to LAN URL while running the "expo start --tunnel" command未找到隧道 URL,在运行“expo start --tunnel”命令时回退到 LAN URL
【发布时间】:2020-07-24 17:09:55
【问题描述】:

我正在尝试使用 expo 工具运行 react-native 应用程序。 我使用的博览会版本是:3.17.23 节点版本:v12.14.1 守望者版本:4.9.0 反应原生 cli:2.0.1 反应原生:0.59.8

在运行命令时:“expo start --tunnel” 我收到错误消息:

Starting project at /Users/mshikher/Documents/reactNative/GitHub/helloWorld
Expo DevTools is running at http://localhost:19002
Starting Metro Bundler on port 19001.
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.
Your native app is running at exp092374a8475942de845719c6d43d81c5://192.168.0.177:19000
Logs for your project will appear below. Press Ctrl+C to exit.
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.

我参考了这个链接:Tunnel URL not found, falled back to LAN URL 但这对我没有帮助。我确保我在笔记本电脑和手机中使用的网络是相同的。我仍然收到此错误。这个问题的解决方法是什么。

【问题讨论】:

    标签: react-native expo


    【解决方案1】:

    我确保安装了正确的 ngrock 并且它在之后工作。

    npm install @expo/ngrok@^4.1.0
    

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 2020-06-23
        • 2022-12-30
        • 1970-01-01
        • 2014-07-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-09-11
        • 2017-03-25
        相关资源
        最近更新 更多