Describe the bug
Brand new build, following the steps of the readme.
Web app working fine, but the app on ios is failing.
After expo opens I see the spash screen and an error in my terminal, but no further movement.
To Reproduce
Steps to reproduce the behavior:
Follow instructions on readme.
run the dev command
See splash screen on ios simulator and error on terminal
Expected behavior
I expect to be able to start using the app.
Logs
@acme/expo:dev: ERROR TypeError: undefined is not a function, js engine: hermes @acme/expo:dev: ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter. @acme/expo:dev: A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes @acme/expo:dev: ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter. @acme/expo:dev: A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
I also see this warning earlier on:
@acme/expo:dev: Some dependencies are incompatible with the installed expo version:
@acme/expo:dev: expo-random@13.0.0 - expected version: ~13.1.1
@acme/expo:dev: expo-status-bar@1.4.2 - expected version: ~1.4.4
@acme/expo:dev: react-native@0.70.5 - expected version: 0.71.14
@acme/expo:dev: react-native-safe-area-context@4.4.1 - expected version: 4.5.0
@acme/expo:dev: @types/react@18.0.26 - expected version: ~18.0.27
@acme/expo:dev: Your project may not work correctly until you install the correct versions of the packages.
@acme/expo:dev: Install individual packages by running npx expo install expo-random@~13.1.1 expo-status-bar@~1.4.4 react-native@0.71.14 react-native-safe-area-context@4.5.0 @types/react@~18.0.27
But if I try run that command I am getting this error, which makes me feel like I'm going down the wrong path:
ERR_PNPM_ADDING_TO_ROOT Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true.
Error: pnpm exited with non-zero code: 1
Screenshots
Smartphone (please complete the following information):
Device: iphone 15 pro max
OS: 17.5
Additional context
Brand new install of expo and xcode.
I've tried deleting and reinstalling packages.
Describe the bug Brand new build, following the steps of the readme. Web app working fine, but the app on ios is failing. After expo opens I see the spash screen and an error in my terminal, but no further movement.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to be able to start using the app.
Logs
@acme/expo:dev: ERROR TypeError: undefined is not a function, js engine: hermes @acme/expo:dev: ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter. @acme/expo:dev: A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes @acme/expo:dev: ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter. @acme/expo:dev: A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
I also see this warning earlier on:
@acme/expo:dev: Some dependencies are incompatible with the installed expo version: @acme/expo:dev: expo-random@13.0.0 - expected version: ~13.1.1 @acme/expo:dev: expo-status-bar@1.4.2 - expected version: ~1.4.4 @acme/expo:dev: react-native@0.70.5 - expected version: 0.71.14 @acme/expo:dev: react-native-safe-area-context@4.4.1 - expected version: 4.5.0 @acme/expo:dev: @types/react@18.0.26 - expected version: ~18.0.27 @acme/expo:dev: Your project may not work correctly until you install the correct versions of the packages. @acme/expo:dev: Install individual packages by running npx expo install expo-random@~13.1.1 expo-status-bar@~1.4.4 react-native@0.71.14 react-native-safe-area-context@4.5.0 @types/react@~18.0.27
But if I try run that command I am getting this error, which makes me feel like I'm going down the wrong path: ERR_PNPM_ADDING_TO_ROOT Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true. Error: pnpm exited with non-zero code: 1
Screenshots
Smartphone (please complete the following information):
Additional context Brand new install of expo and xcode. I've tried deleting and reinstalling packages.