1e98c3cdfSJon Samp---
2e98c3cdfSJon Samptitle: Common development errors
34d2795ecSAman Mittaldescription: A list of common development errors that are encountered by developers using Expo.
4e98c3cdfSJon Samp---
5e98c3cdfSJon Samp
64d2795ecSAman MittalThis page outlines a list of errors that are commonly encountered by developers using Expo. For each error, the first bullet provides an explanation for why the error occurs and the second bullet contains debugging suggestions. If there is an error you think belongs here, we welcome and encourage you to [create a PR](https://github.com/expo/expo/pulls)!
7e98c3cdfSJon Samp
84d2795ecSAman Mittal### `expo` command not found
9e98c3cdfSJon Samp
1033efd9c7SAman Mittal> **info** This applies to the [legacy `expo-cli`](/archive/expo-cli) package which is no longer used in Expo SDK 46 and greater.
11e98c3cdfSJon Samp
12e98c3cdfSJon Samp- Either you do not have `expo-cli` installed or it is not properly configured in your `$PATH`.
13*62adc335SAman Mittal- [Install expo-cli](/archive/expo-cli/#installation) if you have not already. Otherwise, check how to set your `$PATH` based on your OS.
14e98c3cdfSJon Samp
15e98c3cdfSJon Samp### Metro bundler ECONNREFUSED 127.0.0.1:19001
16e98c3cdfSJon Samp
17e98c3cdfSJon Samp- An error is preventing the connection to your local development server.
184d2795ecSAman Mittal- Run `rm -rf .expo` to clear your local state. Check for firewalls or [proxies](/guides/troubleshooting-proxies) affecting the network you are currently connected to.
19e98c3cdfSJon Samp
20e98c3cdfSJon Samp### Module AppRegistry is not a registered callable module (calling runApplication)
21e98c3cdfSJon Samp
22e98c3cdfSJon Samp- An error in your code is preventing the JavaScript bundle from being executed on startup.
23e98c3cdfSJon Samp- Try running `npx expo start --no-dev --minify` to reproduce the production JS bundle locally. If possible, connect your device and access the device logs via Android Studio or Xcode. Device logs contain much more detailed stacktraces and information. Check to see if you have any changes or errors in your Babel configuration. In some rare cases, this issue could be caused by incompatibility between the Metro JavaScript minifier and certain code in your app ([more information](https://forums.expo.dev/t/change-minifierconfig-for-minify-uglify/36460/2)).
24e98c3cdfSJon Samp
25e98c3cdfSJon Samp### npm ERR! No git binary found in \$PATH
26e98c3cdfSJon Samp
27e98c3cdfSJon Samp- Either you do not have git installed or it is not properly configured in your `$PATH`.
28e98c3cdfSJon Samp- [Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) if you have not already. Otherwise, check how to set it in your `$PATH` based on your OS.
29e98c3cdfSJon Samp
30e98c3cdfSJon Samp### XX.X.X is not a valid SDK version
31e98c3cdfSJon Samp
32e98c3cdfSJon Samp- The SDK version you are running has been deprecated and is no longer supported.
334d2795ecSAman Mittal- [Upgrade your project](/workflow/upgrading-expo-sdk-walkthrough) to a supported SDK version. If you are using a supported version and see this message, you'll need to update your Expo Go app.
34e98c3cdfSJon Samp
35e98c3cdfSJon Samp### React Native version mismatch
36e98c3cdfSJon Samp
37e98c3cdfSJon Samp- The development server running in your terminal is bundling a different version of React Native than the app in your device or simulator.
384d2795ecSAman Mittal- [Align your versions of react-native](/troubleshooting/react-native-version-mismatch) by checking the versions in your **app.json** and **package.json**
39e98c3cdfSJon Samp
40e98c3cdfSJon Samp### Application has not been registered
41e98c3cdfSJon Samp
42e98c3cdfSJon Samp- There is a mismatch between the AppKey registered in the native and JS portion of your app.
43e98c3cdfSJon Samp- [Align your AppKey](../troubleshooting/application-has-not-been-registered) with the native side of your project.
44e98c3cdfSJon Samp
45e98c3cdfSJon Samp### Application not behaving as expected
46e98c3cdfSJon Samp
47e98c3cdfSJon Samp- It is possible caches may be preventing you from seeing the current state of your application.
48e98c3cdfSJon Samp- Clear all caches associated with your project in [Unix-like](../troubleshooting/clear-cache-macos-linux/) or [Windows](../troubleshooting/clear-cache-windows/) systems.
49