So i was trying to setup a react-native project from a youtube video, and when i was done with it and tried to npm start the project there's this error message. does anybody know how to fix it?enter image description here
Related
I installed React Native following the requirements in the documentation (https://reactnative.dev/docs/environment-setup) , i got all the simulators working but i have to manually open them everytime i open the project.
If i press m after npm start the following error shows "warn No apps connected. Sending "devMenu" to all React Native apps failed."
(Btw this is my first time using React-Native so sorry if this is a rookie mistake)
Does anyone know any solution ?
I am working on an App in RN and when trying to run either an Android Emulator or Webpack the error 'Expo not defined' pops up. I have had my instructor look over the code and he hasn't quite figured it out either. The first time I was able to get it working by restarting my computer as well as re-installing node-modules. Any advice? Here is a screenshot.Expo not defined
it looks like you have some code in MainComponent.js that calls Expo.Constants.statusBarHeight - you should remove that
Are you importing Expo in top of file?
import Expo from 'expo';
Can you install expo again?
npm install expo
if u r compiling the code on web then ofc it will show error on expo being undefined but check that app on mobile running expo app it will run there without any error .
Hope it solved your problem
Im trying to run my app on device but its showing error of
* What went wrong:
Execution failed for task ':app:fabricGenerateResourcesDebug'.
This error is showing when im using firebase native plugin.
You need to be read this Documentation no longer need ionic plugin.
https://github.com/angular/angularfire2
Install npm page and use this without plugin install.
Possible duplicate of:https://stackoverflow.com/a/49548906/10585097
Solution mentioned :Replace com.android.support:support-v4:+ with com.android.support:support-v4:27.1.0 in project.properties file under platform/android folder
I have created an expo project using expo-cli and ejected it to regular native-script project, but while running react-native link I am getting this message:
Could not find the "expo" package in your project when configuring the
packager while running react-native link
can someone please help me resolving the issue.
Thanks in Advance.
I'm new to react native and I was following their getting started guide but when I typed npm start to run my Project, it says Starting packager and no progress at all. Any help would be appreciated. Thanks!