expo: "Metro bundler has encountered an internal error" with a new exp project
Hi Expo team, @terribleben This issue is intended for exp.
For the past ~7 days, new Expo projects created with exp crash on startup.
Something is off with Metro bundler.
It’s a bummer that the first thing that new Expo users experience is literally a blocking crash like this - I’ve enjoyed using Expo on previous projects, but unfortunately our team can’t even get started at the moment.
Other folks also have this issue.
Affected platforms: iOS. Haven’t checked Android. Environments: Physical devices, iOS Simulator. Template: blank dev environment: macOS 10.13.2, node 9.4.0, exp 47.4.4
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 26 (8 by maintainers)
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 like @ide suggested in metro (node_modules/metro/src/lib/formatBundlingError.js).
function formatBundlingError(error) { console.log(error); }Clean new
expoprojects shouldn’t have this problem anymore. 🙂