世博隧道未启动 [英] Expo Tunnel not starting
问题描述
我是 react native 的新手,我正在尝试使用 expo 启动我的 react-native 应用程序.但是隧道选项没有启动,它正在显示
I'm new to react native and I'm trying to start my react-native application using expo. But the tunnel option is not starting, it's displaying the
隧道 URL 未找到,回退到 LAN URL.
Tunnel URL not found, falled back to LAN URL.
当我单击隧道选项卡时,因为它尚未启动.我等了 2 小时才启动,但它不会启动.我遇到了不同的问题和问题,但没有一个能解决我的问题.
When I click to the tunnel tab, because it's not yet started. I waited for 2 hrs for it to start but it won't start. I run through different issues and questions asked but none solved my issue.
环境:
"expo": 36.0.0,
"expo-cli": 3.11.7
有谁知道我该如何解决这个问题?
Does anyone know how I can solve this?
推荐答案
截至 2021 年 7 月 13 日,就我而言,Expo tunnel 仅适用于以下环境:
As of July 13, 2021, in my case Expo tunnel only works for the following environment:
expo-cli v. 3.11.9
node v. 12.14.1
我使用的是 Ubuntu 16.04.7 LTS.
I am using Ubuntu 16.04.7 LTS.
我无法使其适用于任何其他版本组合.通过这种组合,一切都按预期工作,无需任何其他更改.
I have not been able to make it work for any other version combinations. With this combination, everything works as expected without any other changes.
我已全局安装了最新版本的 @expo/ngrok
.
I have the latest version of @expo/ngrok
installed globally.
在这里找到答案:https://forums.expo.io/t/tunnel-url-not-found-falled-back-to-lan-url/34623/8
这篇关于世博隧道未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!