I tried create a new project with expo, but I follow steps of expo page. - Install Node.js - npm install expo-cli --global - expo init my-new-project - cd my-new-project - expo start
And when is open Expo DevTools in http://localhost:19002 and appear
- Starting Metro Bundler on port 19001.
- Successfully ran `adb reverse`. Localhost URLs should work on the connected Android device.
- Tunnel ready.
I scan QR, or press run on Android device, this error appears:
Couldn't start project on Android: Cannot read property 'readConfigJsonAsync' of undefined
What happen!!?
Just roll back expo cli to version 2.21.2:
npm install -g [email protected]
Also happened to me after making updates on Yarn, NPM and Expo CLI.
first install expo npm install -g expo-cli
then run this command for create app in react-native with expo expo init AppName
after go to your app cd Appname then run expo app command npm start
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With