Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app not running on IOS mobile on clean install. #98

Open
rvermootenct opened this issue May 21, 2024 · 1 comment
Open

app not running on IOS mobile on clean install. #98

rvermootenct opened this issue May 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rvermootenct
Copy link

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:

  1. Follow instructions on readme.
  2. run the dev command
  3. 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: [email protected] - expected version: ~13.1.1
@acme/expo:dev: [email protected] - expected version: ~1.4.4
@acme/expo:dev: [email protected] - expected version: 0.71.14
@acme/expo:dev: [email protected] - expected version: 4.5.0
@acme/expo:dev: @types/[email protected] - 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 [email protected] [email protected] @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
Screenshot 2024-05-21 at 14 21 58

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.

@rvermootenct rvermootenct added the bug Something isn't working label May 21, 2024
@rvermootenct
Copy link
Author

Not sure if I'm missing a step here, or what that undefined is referring to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant