Metro and Bundler Errors in React Native Apps
Metro serves the JavaScript bundle to your React Native app during development. Most Metro issues come from running the server in the wrong folder, stale cache, multiple Metro processes, missing dependencies, or a device that cannot reach the dev server.
Quick Answer
Stop every Metro process, start Metro from the app folder that contains
package.json, reset the cache, then rebuild the native app if it still points
to an old bundle.
yarn start --reset-cache
In a second terminal:
yarn ios
or:
yarn android