"exp start" fail

#1

When i enter the “exp start” in the command prompt and then entered user name and password of the expo account, it fails with the following error message.

17:14:50 [exp] getaddrinfo ENOTFOUND exp.host exp.host:443
17:14:50 [exp] Set EXPO_DEBUG=true in your env to view the stack trace.

As i am using my company network, it should behind the firewall. Is that problem related to the proxy problem? If so, how to solve it?

Thanks.

#2

Hi @lws869 - are you able to visit https://exp.host/ in your browser from the affected computer?

@fson do you have any ideas here?

#3

Hi @esamelson, yes i can visit https://exp.host in the web browser. As i set the proxy in the web browser, everyhings work fine.

#4

@esamelson and @fson, do you have any ideas? I am struggle in this problem for few weeks already…

Thanks for your great help.

#5

If your network requires you to use a proxy, you could try setting the HTTP_PROXY and HTTPS_PROXY environment variables in your terminal session. They instruct exp to use the proxy for requests.

#6

Hi @fson, do you mean there is a command to set HTTP_PROXY and HTTPS_PROXY in expo? If so, would you please give me an example? Thanks.

#7

Check this out: https://docs.expo.io/versions/latest/introduction/troubleshooting-proxies#for-command-line-applications

#8

@fson, thank you. However, I am using the Windows platform. The doc looks only for the Mac platform???

#9

exp reads from the environment variables on Windows too; the part that’s related to Expo should be platform-independent.

#10

um…i am sorry that i am newb to expo, i am still not understand how to set the proxy.

Would you mind to teach me step-by-step?

Now, i opened node.js command prompt. Then, what should i do to set the proxy?

#11

See this guide for how to set environment variables on Windows: Permanently Set Environment Variables on Windows

#12

Still have the following error when connecting to internet using expo. Thanks for your help.

{ Error: There was a problem understanding the server. Please try again.
at C:\xdl@49.1.0\src\ApiV2.js:186:46
at Generator.throw ()
at step (C:\Users<user_name>\AppData\Roaming\npm\node_modules\exp\node_modules\x
dl\build\ApiV2.js:48:191)
at C:\Users<user_name>\AppData\Roaming\npm\node_modules\exp\node_modules\xdl\bui
ld\ApiV2.js:48:402
at
at process._tickCallback (internal/process/next_tick.js:182:7) responseBody:
undefined }
17:41:59 [exp] Error registering user: There was a problem understanding the ser
ver. Please try again.

closed #13

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.