-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommandError: ngrok tunnel took too long to connect. #20894
Comments
I too am facing this problem. But after one or two times the server starts successfully. |
I tried many times but it seems like it doesn't work for me, instead now I'm using it without |
is the metro bundler website showing up if you running expo ? Nothing happens if I use "npx expo start", all I can see is the qr code and "Metro waiting on exp://127.0.0.1:19000" |
No, metro bundler website not showing up and no QR code, it won't proceed to produce QR code, before producing, this error happens |
I downgraded my node version from the latest ( it must be 18.x.x) to 14.16.1 and my expo sdk from 47 to 46.0.0, now its working for me. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Can confirm it failed twice before working |
This comment was marked as duplicate.
This comment was marked as duplicate.
Im the same problem, but when i try more times it works |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
It appears to be a common issue that has recently affected many users. I tried two solutions, and both worked for me. However, the issue now seems to have been resolved, and I no longer require those solutions to make it work as expected. The two solutions are:
You can also use emulators such as Bluestacks. |
It worked for me. |
In my case the solution was to disable the antivirus just before running "npx expo start --tunnel". |
Summary
I want to run vscode expo project on my android device, when I run
npx expo start --tunnel
it shows above error.What platform(s) does this occur on?
Web
SDK Version
No response
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.22621
Binaries:
Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
npm: 9.2.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: AI-221.6008.13.2211.9477386
npmPackages:
expo: ~47.0.12 => 47.0.13
react: 18.1.0 => 18.1.0
react-native: 0.70.5 => 0.70.5
Expo Workflow: managed
Minimal reproducible example
npx create-expo-app AwesomeProject
cd AwesomeProject
npx expo start --tunnel
then error will apear as shown below.
The text was updated successfully, but these errors were encountered: