expo: Unable to reach Expo servers. Falling back to using the cached dependency map (bundledNativeModules.json) from the package "expo" installed in your project.
Summary
The app was working fine and suddenly without any reasons I am getting this message when ever I am trying to start the app with (npm start) or even I can not login my account from terminal
I am getting this message if I am trying to login
getaddrinfo ENOTFOUND exp.host
Error: getaddrinfo ENOTFOUND exp.host
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
If npm start worls the app is not loading
Managed or bare workflow?
managed
What platform(s) does this occur on?
Android, iOS
Package versions
No response
Environment
expo-env-info 1.0.5 environment info: System: OS: Windows 10 10.0.22000 Binaries: Node: 14.16.1 - C:\Program Files\nodejs\node.EXE npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD SDKs: Android SDK: API Levels: 26, 28, 29, 30 Build Tools: 29.0.2, 30.0.3 System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom npmPackages: expo: ~46.0.7 => 46.0.7 react: 18.0.0 => 18.0.0 react-native: 0.69.4 => 0.69.4 Expo Workflow: managed
Reproducible demo
in npm start
Stacktrace (if a crash is involved)
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 36 (4 by maintainers)
network issue.
npx expo start --offlineworks for me.I had the same problem, I fixed by clearing the bundler cache using :
npx expo start -cfirst of all power off/on your router to have refreshed data connection then open your folder using cmd and type the command npx expo start -c
it will work like margic
I had the same problem, I fixed deleting the folder content at:
<ROOT_PROJECT_FOLDER>/.expo/web/cache/development/babel-loaderPs.: I’m using babel loader plugin
I faced the same issue and I have done it also. Submitted the request to etisalat to unblock the site https://exp.host/--/versions
@brentvatne I did call Etisalat UAE and then they asked me to go through their wbsite www.etisalat.ae/proxy and write a request to unblock the website specially it’s opened normally for Du users
Please fo the same and ask anyone you know to do the same
@brentvatne it seems there is an issue in expo server because even expo go app is not opening while also can not log in from the terminal
@hatim85f you are right, I got the same issues with the app and terminal. We need to submit all forms to solve this issue
@NKANGIJAFARI you are right when I did the same it’s working . regarding expo go you can download a virtual device on your device and use it but this has some drawbacks
I think something else need to be done or find another alternative
@brentvatne I am living in UAE, regarding https://expo.dev/ yes I can access it normally while I can not access https://exp.host/--/versions
Everything was working fine and suddenly everything stopped
Error encountered while fetching Expo token, expected an OK response, received: 400 (body: "{"errors":[{"code":"VALIDATION_ERROR","message":"The Expo push notification service is supported only for Expo projects. Ensure you are logged in to your Expo developer account on the computer from which you are loading your project.","isTransient":false}]}").])Hope that may help investigating what is going on
taking in consedration I was working for this porject for the last 4 months without any issues and everything came suddenly out of nowhere

are you able to access https://expo.dev in your web browser? what about https://exp.host/--/versions?
@hatim85f - are you still able to use the cli after this error or does it bring you back to the prompt?
additionally - it looks like you are using the global expo cli package. you are using sdk 46 so you should be using the local cli. run
npx expo startin your projectmore info in: