我正在用 React Native 构建一个项目并使用 [email protected] 将近 5 个月,在执行 expo start --tunnel 时从来没有遇到过问题,但是今天我尝试这样做并且它显示了这个奇怪的错误。
世博会开始--隧道
`PS F:\cenas\Cenas> expo start --tunnel
This command is being executed with the global Expo CLI. Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421
To use the local CLI instead (recommended in SDK 46 and higher), run:
› npx expo start
Starting project at F:\cenas\Cenas
Some dependencies are incompatible with the installed expo package version:
- react-native - expected version: 0.70.8 - actual version installed: 0.70.5
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
or install individual packages by running expo install [package-name ...]
Starting Metro Bundler
Successfully ran `adb reverse`. Localhost URLs should work on the connected Android device.
Using legacy dev server: false
Error starting ngrok: Starting tunnels timed out
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.
Started Metro Bundler
Tunnel URL not found (it might not be ready yet), falling back to LAN URL.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄▄ ▀ ██ █ ▄▄▄▄▄ █
█ █ █ ██▄▀ █ ▄█ █ █ █
█ █▄▄▄█ ██▀▄ ▄ ██▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄█ ▀ ▀ █▄▄▄▄▄▄▄█
█▄ ▀ ▀▄██▄▀█▄██▀ █▄█▀█▀▀▄█
█▄█ ▄ ▄▄▄█▄██▄█ ▄ ▀███▄▀▀ █
█▀ █ ██▄▀ ▄ █▀█▄ █ ▄▀▀█▀ ██
█ ▄▄ ▄ ▄▀▄█▄█▀▄█ ▄▀ ██▄▀ █
█▄██▄██▄█ ▀▄ ▄▄ █ ▄▄▄ ▄▀▄█
█ ▄▄▄▄▄ ██ ▄▀▄ █ █▄█ ███ █
█ █ █ █ ▄ ▄ ██▄ ▄ ▄ █▀▀█
█ █▄▄▄█ █▀▄▀ █▄ ▄█▀▀▄█ █
█▄▄▄▄▄▄▄█▄▄█▄██▄▄▄▄█▄▄███▄█
› Metro waiting on exp://192......
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)
› Press a │ open Android
› Press w │ open web
› Press r │ reload app
› Press m │ toggle menu
› Press ? │ show all commands
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 (it might not be ready yet), falling back to LAN URL.`