TAJUZZAMAN

Experienced Senior Software Engineer with a demonstrated history of working in the information technology and services industry. Skilled in .Net Software Development, MSSQL, Oracle Database, C#, PHP, Google Cloud Platform and Microsoft Azure. Strong engineering professional with a Bachelor’s Degree focused in Artificial Intelligence from Universiti Teknologi MARA Malaysia. Currently work as Lead Solution Architect and Director of new startup IT company named Aurora Cloud Works Sdn. Bhd.

  • Home
  • /
  • Mobile App
  • /
  • Expo Build:Android – Receive “Building iOS bundle Metro Bundler has encountered an internal error”

Expo Build:Android – Receive “Building iOS bundle Metro Bundler has encountered an internal error”

During build the android app for release by using Expo, we may encounter this kind of error

E:\Project\Your_app>expo build:android
Checking if there is a build in progress...
Publishing to channel 'default'...
Building iOS bundle
Metro Bundler has encountered an internal error, please check your terminal error output for more details
Cannot read property 'status' of undefined

This is frequently happen if you keep changing your solution project. In my laptop, in one day i may open more than 1 mobile app project.
I am not pretty sure the main causes, but i assume it happen because expo have cache value that not really clear during changes the project.
This is not the only issue you may encounter if you keep change your project solution.

The workaround i use to resolve this issue as below :

expo start -c

after start expo with -c to start the cli with clearing cache
run this statement to begin build

expo build:android -t app-bundle

This is one of the workaround.

Other References : github.com