React native expo not running in Simulator - reactjs

I am getting below error while running application in simulator.
I tried to restart server but not work for me

I got the same issue, solved by below steps
Update expo version by npm install -g expo-cli
Restart server
Run application
For me,
Previous Expo version : 3.11.7
Updated Expo version : 3.18.0
Hope it helps

Related

The development client (com.reactnative02) for this project is not installed. Please build and install the client on the device first

I am getting the above error when previewing the react app on an android studio simulator. Please help. Here is the error:
"CommandError: The development client (com.reactnative02) for this
project is not installed. Please build and install the client on the
device first."
I was facing the same issue and below commands helped me to resolve it. Hope works for you as well.
Firstly close your Metro Bundler and emulator, then try:
expo run:android
If it doesn't help go with:
npx react-native run-android
Uninstall the application via adb:
adb uninstall com.reactnative02
expo start --android worked for me. This is assuming you're using expo of course.

npm start not working in ubuntu 20.04 and displaying eslint error

my react app works fine in my local device. but one I clone it in ubuntu server and try to start it I encounter this eslint Unexpected token.
Does anyone encounter this before?
I solved my problem by installing the latest version of nodejs in ubuntu server.
btw I'm using node version v10.19.0 earlier upon encountering this error.
here is the link on how to install latest version of nodejs in ubuntu How to Install Latest Node.js on Ubuntu

React Native Debugger "Unsupported DevTools backend version"

When I try to debug my app with React Native Debugger I got that error: "
error from react native debugger
then I do that instruction. install react devtool, and nothin happen.
I think, maybe, I have some error when installing the package, so I run react devtools and see that current version 4.23.0
react-devtools version
so anybody have any idea how I can fix that problem?
I "npm install"ed 'react-devtools' and 'react-devtools-core' and set them to the same version
"react-devtools": "~4.14.0",
"react-devtools-core": "~4.14.0",
and re-installed everything by deleting package-lock.json and node_modules
then ran npm install and it worked
I think the problem was those packages not being the same version
If anyone else is seeing this dialog:
Here is the solution which worked for me on M1 Mac:
Uninstall the homebrew version of react-native-debugger and install the react-native-debugger_0.11.7.dmg binary.
More info here
I tried to sync both versions by doing the fresh global and local install.
But after a long time, the local combination and resolutions for the version worked for me.
I added the following in packege.json as dev depedencies.
"react-devtools": "~4.24.5",
"react-devtools-core": "~4.24.5"
And
"resolutions": {
"react-native/react-devtools-core": "4.24.0"
},
Restarted the env, opened yarn react-devtools, and then opened dev menu and select inspect options and it got connected to dev tools and I was able to inspect my UI components in devtools.

Can't activate the expo manifest tools on Visual Studio Code

So I am currently trying to learn React and code on Visual Studio. Now, I am getting errors saying:
Oops, it looks like we couldn't activate the Expo manifest tools: Unable to perform cache refresh for C:\Users\Jasun\AppData\Local\Expo\schema-43.0.0.json: Error: certificate has expired.
Does anyone have any ideas?
Current versions are:
git version 2.34.1.windows.1
node version 17.2.0
expo version 5.0.0
Visual Studio Version 1.63.0
yarn version 1.22.17
reinstall doesn't help for now...
here is the workaround before they fix the issue - "Certificate has expired" when activating the Expo schema
You may try the workaround derived from the issue description
> expo init temp-proj --template expo-template-blank#44
> cd temp-proj
> expo doctor
Once expo doctor executed, the schema-44.0.0.json appear in %AppData%\Local\Expo\schema-44.0.0.json
then you can delete the temp-proj...
Warning: Problem validating app.json: Unable to perform cache refresh for ***C:\Users\Admin\AppData\Local\Expo***schema-44.0.0.json: Error: connect ETIMEDOUT 34.132.55.135:443.
Find schema-xx-x-x.json in C:\Users\Admin\AppData\Roaming\npm\node_modules\expo-cli\node_modules\xdl\caches
or search with everything app in your PC
Paste on C:\Users\Admin\AppData\Local\Expo\
Tadaaa Work
updating your expo cli will fix the issue
npm install -g expo-cli
then check the new version
expo --version
OR
use this link description
I had the same issue. The problem occurs because the file schema-43.0.0.json is missing from the directory.
I fixed it by copying one of the other schemas and renaming it to the missing one.

Expo no longer working? bash: expo: command not found

so I am working on some React Native projects and up until now, Expo has been working great along with Android Studio. However, I think I updated my graphics card drivers a couple of days ago. Now when I try to run "expo start" I receive a "bash: expo: command not found" error.
Any ideas? I keep seeing all this stuff about adding NPM global to my paths but all of those issues/solutions seem to be for Mac. I have no idea how to go about correcting this on a Windows 10 machine. Any thoughts?
expo is not installed on the machine anymore for some reason
since it is an expo project it is straightforward first go to Nodejs webpage
download LTS version NOT THE CURRENT VERSION once node is succesfully installed on the machine it will you can check by opening the command prompt and typing node --version
you should see something like "14.1232."
then run this command npm install -g expo-cli it should install expo again globally
navigate to your project folder and do "expo start" it should work

Resources