Closed a-eid closed 6 years ago
Please resolve the warning in the logs, (the recommended downgrade to npm 4.6.1)
We've found npm 5 ends up causing more problems than it solves. Drop node_modules and reinstall?
On Oct 9, 2017 6:26 PM, "Ahmed Eid" notifications@github.com wrote:
[exp] Making sure project is set up correctly...
|[exp] Warning: 'react-native' peer depencency missing. Run npm ls
in /Users/aeid/developer/Billbored-Real-Frontend to see full warning.
[exp] Warning: 'react-native-vector-icons' peer depencency missing.
Run npm ls
in /Users/aeid/developer/Billbored-Real-Frontend to see
full warning.
[exp]
[exp] If there is an issue running your project, please run npm install
in /Users/aeid/developer/Billbored-Real-Frontend and restart.
[exp] Your project looks good!
[exp] Opening expc0af421430f54d00aad2c2f7aa438003://localhost:80 in
iOS simulator
[exp] Error running xcrun simctl openurl booted expc0af421430f54d00aad2c2f7aa438003://localhost:80
: An error was
encountered processing the command (domain=NSOSStatusErrorDomain,
code=-10814):
The operation couldn’t be completed. (OSStatus error -10814.)
[exp] Error running app. Have you installed the app already using Xcode? Since you are detached you must build manually. Error: Process exited with non-zero code: 194
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-community/create-react-native-app/issues/428#issuecomment-335332740, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVz8tz_bcVYuk5STeix6eMJClCm7zwoks5sqsfWgaJpZM4PzG2S .
@tcdavis I did drop node_modules and reinstall still getting the following ourput ( with error ) :
exp ios
[exp] Making sure project is set up correctly...
-[exp] Warning: 'react-native' peer depencency missing. Run `npm ls` in /Users/aeid/developer/Billbored-Real-Frontend to see full warning.
[exp] Warning: 'react-native-vector-icons' peer depencency missing. Run `npm ls` in /Users/aeid/developer/Billbored-Real-Frontend to see full warning.
[exp]
[exp] If there is an issue running your project, please run `npm install` in /Users/aeid/developer/Billbored-Real-Frontend and restart.
[exp] Your project looks good!
[exp] Opening iOS simulator
[exp] Opening expc0af421430f54d00aad2c2f7aa438003://localhost:19000 in iOS simulator
[exp] Error running `xcrun simctl openurl booted expc0af421430f54d00aad2c2f7aa438003://localhost:19000`: An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn’t be completed. (OSStatus error -10814.)
[exp] Error running app. Have you installed the app already using Xcode? Since you are detached you must build manually. Error: Process exited with non-zero code: 194
I'm also getting this error with android
exp android
[exp] Making sure project is set up correctly...
/[exp] Warning: 'react-native' peer depencency missing. Run `npm ls` in /Users/aeid/developer/Billbored-Real-Frontend to see full warning.
[exp] Warning: 'react-native-vector-icons' peer depencency missing. Run `npm ls` in /Users/aeid/developer/Billbored-Real-Frontend to see full warning.
[exp]
[exp] If there is an issue running your project, please run `npm install` in /Users/aeid/developer/Billbored-Real-Frontend and restart.
[exp] Your project looks good!
[exp] Opening on Android device
[exp] Couldn't start project on Android: Error running adb: Error running app. Have you installed the app already using Android Studio? Since you are detached you must build manually. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=expc0af421430f54d00aad2c2f7aa438003://sh-74y.aeid.billbored-real-frontend.exp.direct:80 flg=0x10000000 }
@a-eid can you open the iOS simulator manually?
closed for no response
I have the same issue and got the same error messages. It could start the iOS simulator yet it cannot install/start any app.
I've the same issue, i created a project with create-react-native-app
i've made a yarn eject
a select with ExpoKit. Before ejecting i've installed the exp cli and also the XDE but if i made open it in ios simulator i get the error:
Error running `xcrun simctl openurl booted exp14eba1fed68148bd9eb08c305152dbc4://localhost:19000`: An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn’t be completed. (OSStatus error -10814.)
00:50:14
Error running app. Have you installed the app already using Xcode? Since you are detached you must build manually. Error: Process exited with non-zero code: 194
I also try to downgrade npm to 4.6.1 version but nothing change
Any solutions for this? Having the same error.
I solved the problem this way:
I supposed that the problem is because the Expo XDE is not able to create and install the app in ios simulator. Even more i notice that if you want hot reloading you always need to build and ren the project in Xcode before to run it in XDE.
XDE is responsible just for invoking the React Native JS packager and sending the JS to your simulator or device. When you eject, you are responsible for everything else, such as building the iOS app with Xcode and installing it in the simulator.
Looking online, OSStatus error -10814 means kLSApplicationNotFoundErr
. This hints that the target app is not installed on the simulator and you need to build it from Xcode. (The fix in the comment right above this one corroborates that.)
Docs for Developing with ExpoKit: https://docs.expo.io/versions/latest/guides/expokit.html#3-ios-configure-build-and-run
I meet this problem in Flutter project for IOS simulator, I solved it by closing the simulator and install app again...
Description
After ejecting to expokit I can't run
exp ios
to run app on simulator but I get the following error