javascriptnode.jsreact-nativenpmexpo

'expo start' or 'npm start' command stuck at ''Starting metro bundler"


I am using react native expo for building mobile app. I followed below steps:-

  1. expo init myapp
  2. cd myapp
  3. expo start

After running above 3 commands everything was working fine few days ago. But from today it gets stuck on "Starting Metro bundler".

It should proceed further to "Building javascript bundle". But It is stuck with "Starting Metro bundler".


Solution

  • This happened to me because I reset my network settings on my phone earlier today which wiped out my all Wi-Fi connections. So my root cause was simple- my phone just wasn't on the same network as my PC anymore.

    If you know you're on the right network, there are more details and potential solutions here: https://github.com/expo/expo-cli/issues/2934 and I think it's important to note that bundling won't start until you click the link from the QR code.

    Most likely, it is a network access issue.