Manifest string is not a valid JSONObject or JSONArray Error, After run expo eject

#1

Environment

Environment:
OS: Linux 4.15 (Ubuntu 18.04)
Node: 8.10.0
Yarn: Not Found
npm: 6.3.0
Watchman: 4.9.0
Xcode: N/A
Android Studio: Not Found (but i have Android Studio 3.1.4 AI-173.4907809)
Device: Nexus 5 API 23 (Android 6.0, API 23)

Packages: (wanted => installed)
expo: ^30.0.1 => 30.0.1
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz => 0.55.4

Steps to Reproduce

1.Create expo app (expo init myapp)
2.Eject from expo (expo eject)
3.expo start
4.Open android folder by Android Studio & press Run (Build completely successfully)

Expected Behavior

Run my app in emulator without error!!

Actual Behavior


Expo CLI Server Output

open http://192.168.1.50:19000 in web browser,
output is a plain JSON object:

{"name":"oops","description":"This project is really great.","slug":"oops","privacy":"public","sdkVersion":"30.0.0","platforms":["ios","android"],"version":"1.0.0","orientation":"portrait","icon":"./assets/icon.png","splash":{"image":"./assets/splash.png","resizeMode":"contain","backgroundColor":"#ffffff","imageUrl":"http://192.168.1.50:19001/assets/./assets/splash.png"},"updates":{"fallbackToCacheTimeout":0},"assetBundlePatterns":["**/*"],"ios":{"supportsTablet":true,"bundleIdentifier":"com.mycompany.oops"},"android":{"package":"com.mycompany.oops","publishBundlePath":"android/app/src/main/assets/shell-app.bundle","publishManifestPath":"android/app/src/main/assets/shell-app-manifest.json"},"isDetached":true,"detach":{"androidExpoViewUrl":"https://s3.amazonaws.com/exp-exponent-view-code/android-v2.8.1-sdk30.0.0-271c32ab-0715-4dfb-8270-ecead3679bb4.tar.gz"},"scheme":"expf41f99b0db384e47b530e8d11e279657","xde":true,"developer":{"tool":"expo-cli","projectRoot":"/home/sadi/Desktop/react_native/oops"},"packagerOpts":{"hostType":"lan","lanType":"ip","dev":true,"minify":false,"urlRandomness":"5g-g85"},"env":{},"bundleUrl":"http://192.168.1.50:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false&assetPlugin=%2Fhome%2Fsadi%2FDesktop%2Freact_native%2Foops%2Fnode_modules%2Fexpo%2Ftools%2FhashAssetFiles","debuggerHost":"192.168.1.50:19001","mainModuleName":"node_modules/expo/AppEntry","logUrl":"http://192.168.1.50:19000/logs","hostUri":"192.168.1.50:19000","iconUrl":"http://192.168.1.50:19001/assets/./assets/icon.png"}

Thanks.

1 Like
closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.