I'm creating my first React Native app but, when I try to publish it (running in vscode terminal npm start
and then clicking on: Publish or republish project...
) i have this error:
connect ECONNREFUSED 127.0.0.1:80
How can I fix that?
If you are located outside the United States, try using a VPN to the US and THEN publish your App or run simulator. I know this may sound weird, but for me (I'm outside the United States). If I try to publish or run the app on expo I get either connection refused or connection reset.
This works.
exp start
ctrl c
expo build:android
I don't know why but I do the same way with expo-cli and it's working!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.