Error: Missing app.json. error in XDE

I developed an application using React-native, now I am converted to expo using exp convert . I made all the changes in the folder that I need (the next steps in expo-next-steps.txt), but when I run the project on expo XDE, I get an error, for example Error: Missing app.json. How to solve this problem? and I used the local push notification in the action-native application. But there is a file in the project structure called app.json still getting this error. I am new to the exhibition, someone please help me.

+5
source share
2 answers

I uninstalled app.json, restarted it and it works in my setup. You can rename it just in app.json.orig

+7
source

The XDK export looks for the version of the SDK to be exposed in the app.json file. So your app.json should look something like this:

 { "name": "MyAPP", "displayName": "MyAPP", "expo": { "sdkVersion": "18.0.0" } } 

Replace "18.0.0" with the SDK version. This error occurs when creating an application using

 react-native init 

instead

 create-react-native-app 

I take this as one of the reasons. In such cases, there may be more such explanations. Excellent coding!

+3
source

Source: https://habr.com/ru/post/1266291/


All Articles