Metro bundler has encountered an internal error
When I run yarn start in the terminal and use Expo App to open my RN Project in iPhone, an error appears as follows:

Do you have any more information about the error? Any log shown on the terminal would help
@rafeca There is only Failed building JavaScript bundle on the terminal. I can successfully run on Android but fail on iOS, neither iPhone or simulator.
I'm not sure that this problem is caused by metro. I created a new project and encountered the same problem, so maybe not code itself.
Ok so I was having the same issue but I just restarted my IDE, command line and ran the app again it worked fine.
Decided to try Expo today for the first time since last summer. Was eager to see what's new.
Started with exp init, chose the 'blank' app, followed by exp start
Installed Expo on my physical iPhone and attempted to connect via QR code.
Unfortunately got the same error as OP on physical iPhone.
Couldn't get Simulator to connect to Expo either.
I didn't try Android.
This appears to be something very new, I haven't seen a problem like that before. Started out of nowhere, no helpful logs..

I'm having a similar problem. :( I also do not have any interesting logs. http://snack.expo.io works perfectly with the same project.
@vincekruger Thanks for mentioning that about Snack working. I was able to get things started that way at least. While a web IDE is far from ideal at least it's something.
@rafeca The out of the box experience is broken for me and these other folks, and coming up on a week with no response. Would appreciate your opinion here :)
Hey people! I'd need some more specific logs/repro steps in order to investigate this.
I've tried to reproduce it in React Native v0.52 with my test app (https://github.com/rafeca/rn-test-app) and I cannot see such error, so this may be an issue with the expo CLI integration.
Thanks for checking @rafeca! Seeing as it's apparently specific to Expo, I'll be happy to pass the issue over there.
The problem is the Expo folks have disabled their issue tracker on GH. If anyone here happens to know their preferred channel to file bugs, or their Slack, etc I'll be happy to pass this along.
I suspect there is some bug with npm 5 causing problems for people here, but nobody here actually provides steps to reproduce the problem so it's hard to say (as it works as expected for me and many thousands of other people). Please use npm 4 npm i -g npm@4 or yarn (https://yarnpkg.com/en/docs/install).
Over on the Expo thread I opened, Brent helpfully recommended using yarn because npm5 apparently still has bugs.
In my case, even though I don't recall using npm to install exp, I nevertheless did a
npm uninstall -g exp followed by
yarn global add exp
and I'm back in business. If you get a chance to try this, please post back if it worked for you.
Hope it helps!
I had the same issue, npm start -- -- reset-cache solved it, if it says cant run on port **** kill thoose process and reset again
@marcinkosiba it doesn't work for me : (
@onpaws Thanks for investigating this problem. I have tried to npm uninstall -g exp followed by
yarn global add exp, but it also doesn't work for me.
I think I'd go crazy!😭
React Native doesn't work with NodeJS 9 and new version of NPM You have to downgrade your NodeJS version or you can use NVM to set different node version for each terminal: https://github.com/creationix/nvm
Downgrade your node version to: 8.9 and your NPM version to: 4.6.1
after that remove your node_modules directory and run npm install again
It doesn't appear to work with ANY version of node & npm.
Yeah same issue with me, i’ve tried using npm3.10.10 still the same, create new project, run on device (genymotion or even on iOS), get the metro bundler internal error
Fam, I fixed my issue and like most of them, it's completely my fault. I was refactoring and deleted some files without cleaning up some imports of the deleted files. The only way I found this was to add a console.log in metro (node_modules/metro/src/lib/formatBundlingError.js).
function formatBundlingError(error) { console.log(error); }
I just made a curious discovery.
I had a plus character + in the absolute path to my project folder, e.g.
/Users/pat/projects/+ReactNative/MyExpoProject
I moved my project to a new path:
/Users/pat/projects/MyExpoProject
restarted everything,
and we're off to the races.