metro bundler I'm trying to run an app published by other programmer but it doesn't run metro bundler on google chrome when I type npm start on terminal.
On the other hand, I created a project and run it and it works my project
metro bundler I'm trying to run an app published by other programmer but it doesn't run metro bundler on google chrome when I type npm start on terminal.
On the other hand, I created a project and run it and it works my project
You need to install the dependencies of the other developer's project by running 'npm install' before starting metro bundler.
Open new terminal and run below command, It will bring up expo dev client.
expo start --dev-client
Sometimes it might throw an error as below.
Missing package "metro/src/lib/attachWebsocketServer" in the project. This usually means
react-nativeis not installed. Please verify that dependencies in package.json include "react-native" and runyarnornpm install.
To fixing this issue, run the command
npm install -g expo-cli
npm install expo-dev-client
expo start --dev-client