Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am getting this error : error listen EADDRINUSE: address already in use :::19000. What to do?

Developer tools running on http://localhost:19002 Opening developer tools in the browser... Starting Metro Bundler error listen EADDRINUSE: address already in use :::19000.

Error: listen EADDRINUSE: address already in use :::19000

like image 518
Prateek Priyadarshi Avatar asked Dec 08 '22 09:12

Prateek Priyadarshi


1 Answers

This is happening with the version 4.8.1 of expo-cli https://github.com/expo/expo-cli/issues/3687

The best way to solve this is to downgrade your version of expo to 4.7.3.

npm i -g [email protected]
yarn global add [email protected]

If you have to work on [email protected] I fix this changing the default port of expo. You can create an .exprc file in your project root with

{
  "manifestPort": valid port number (e.g. 19002)
}

Don't forget to add the .exprc to your .gitignore file c;

like image 72
Dante Nuñez Avatar answered Dec 28 '22 06:12

Dante Nuñez