Consle Error running react-native application on expo-cli - javascript

I've been working on a android application using react-native and expo, I tried to start the app and get this error on the expo mobile app.Error message here
Console.error: "There was a problem sending log messages to your development environment", Error: Out of memory
I've tried restarting the application and clearing the cache with shift + r.
But still get the Same error, wanted to know if anyone could help??.
Before trying to contact expo support directly

Related

Expo: There was a problem running the requested app. The data couldn't be read because it isn't in the correct format

I'm trying to run an expo project using npx expo start --tunnel and when I scan the QR code on iOS I get the following error iOS expo error
When I ran the project on the web, it worked just fine. I tried to run it on an android device and I got the following error android expo error

EXPO EAS BUILD "HTTP Error: Response code 400 (Bad Request)"

I'm trying to build an apk to test my app but every time I run eas build i get the same error. I've already searched everywhere and can't find a solution.
Running:
expo update
solved this problem for me and I was able to successfully run eas build again. I believe there were incompatible packages installed that needed to be updated.
I found the problem, it looks like my ISP was blocking the requisition, using VPN solved the problem

React Native App on android build says "Unable to load script from assets'index.android.bundle' " requires a system restart

Whenever I run the application on the android phone I get this type of error shown in the image
What I have tried so far is:
regarding packager or metro bundle,I have to shut down my laptop for 10 minutes or some time then the error vanishes, why it is happening? I am using ubuntu as my operating system.
even when it's an error in code and metro bundle error shows up; still the same issue pops up.
I have tried command killing the adb server and restarting the metro too! but nothing good happens.
'yarn start/npm start' etc but it makes nothing for me except another error
on running
yarn start/npm start
i get this error
This error will be no more if I shut down the system & start after sometime & the project works fine! after it until the next error arrives.
It looks you installed some packages through super user privileges, so when you run your project, some files deny Access.
Moreover please check your react and react-native versions and update them to the latest one. To upgrade to latest version run this command
$ npm install -g react-native-git-upgrade then $ react-native-git-upgrade
Or open package.json and change versions of react to "16.6.3" and react-native to "0.57.8".

Error when migrating to macOS: TypeError: Cannot read property 'apply' of undefined

I am building a web app using React and Redux on the front end and Node on the back end with Express and MongoDB.
My app runs fine on my Windows machine. Today, I cloned the repository onto my macOS device and ran npm install inside the client and the root directory and then I tried running the application to find this error message pop up:
I'm not sure what this error message means and stack trace displays that the error originates from Redux inside the node_modules folder, which is code I did not write or touch. Here is the repo: https://github.com/furtivepygmy/devconnector
I'm new here, so please go easy on me. I always face issues when moving my workspace between macOS and Windows, however I can't seem to fix this one. Is there something I need to do when migrating between operating systems?

SDK error in React native

i am new to react native and an trying to run the project on emmulator "react-native run-android" . iam getting the error.
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory 'D:\ReactNativeLearning\zupportdeskchat\ZDReactNative\zupportdeskapp\android\"D:\Android\sdk"' does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.253 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
My Sdk Folder is in
sdk.dir ="D:/Android/sdk"
I set it up in local.properties.
Can someone help me to fix this tnx.
If you are working on windows system then path should be:
sdk.dir=D\:\\Projects\\Android\\sdk
Clear build cache and npm cache then try to make build.
Also check, your device is connected or not.
You are getting this error because you haven't connected a device or opened the emulator. So first connect the device to the machine and try react-native run-android or run the emulator and enter react-native run-android

Categories