I have a project which developed in react native using expo tool. Now I am trying to import project in expo but facing below error,
F:\ProjectPath>expo start
Starting project at F:\ProjectPath
Expo DevTools is running at http://localhost:19002
Error: Missing app.json. See https://docs.expo.io/
No Expo configuration found. Are you sure this is a project directory?
Related
My react native app is showing error when using expo-cli:
Error loading DevTools
,No scheme specified for development client
picture:
I am using expo version 44 And react-native version 0.64 ,also I have used expo init in order to create my project.
How can I fix this error?
You'll have to run:
expo install expo-dev-client
Then, for Android:
expo run:android
or for IOS:
expo run:ios
Since config plugins will let you customize your project from JavaScript without ever needing to directly modify XCode or Android Studio projects.
More details here
https://docs.expo.dev/development/getting-started/
I am able to build my app Using Run in Android Studio, but using the React Native CLI which I prefer, the app will not build using the react-native run-android command.
Using the React Native CLI, I get the error message:
Execution failed for task ':app:packageDebug'.
> react_9eow0duexig9bim4oxa9fkqs2$_run_closure4$_closure6$_closure10$_closure18
There are plenty of online posts about referencing the first line of the error of which none of the solutions fix the build, but there are literally no google results when searching for the second line.
Why would Android Studio be able to build the app when the React Native CLI can't?
I'm using RN v 0.61.4
Any help much appreciated.
I added a vector icon package in my React Native app. But After adding vector icon library I am trying to rebuild project using
**npm run android
react-native link**
But it's giving me an error
npm err missing script android react native
I have tried many solutions of updating package.json file from Github and I have tried to change the path of the environment but still same
I think you are using the wrong command to make debug build.
Following these steps:
install vector icon
link it from your project root directory using the command react-native link your_package_name
Use this command from your project root directory to make build react-native run-android
Running react native app on the android simulator.
Installed react-native-maps module and build again. The app stopped working.
Build successful but the app crashes as soon as I open it without any error or exception.
google-services version 4.0.1
React native - latest
I tried adding disablestrictVersioncheck to true in the build.gradle file. Did not help.
I have a react-native cross platform project based on Underdark library for exchanging data using Bluetooth and Wifi. this is working as react-native project. I am able to transfer data between iPhone and android.
Now i want to integrate this into another react native project as a package or use it in another project. But the private Underdark react native project is not a proper package in itself. It is just a working react native project.
I have integrated by using the following commands.
npm install —save
In Xcode I have imported the project and added the libraries/framework (underdark and protocol buffers ) into Build phases.
On the react side the entire project gets installed under node-modules.
Now i create a component and import the files in underdark library in node modules.
I run the react-native run-ios command to run it on my device.
It builds successfully but gives the following error.
2017-06-29 12:31:27.406 [error][tid:com.facebook.react.JavaScript] Native module cannot be null.
2017-06-29 12:31:27.523 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
My question is
Is it possible to use a react native project in another project as a third party library. even if it is not a package.
How to remove this error.