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

Failed to launch Android & Failed to install Pods and launch IOS #74

Open
rezkiy37 opened this issue Nov 18, 2023 · 9 comments
Open

Failed to launch Android & Failed to install Pods and launch IOS #74

rezkiy37 opened this issue Nov 18, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@rezkiy37
Copy link
Member

Environment

Debug; MacOS 13.5.2; pnpm 8.9.2;

Description

I've tried to launch the app. I successfully installed node_modules. After, tried to launch pnpm --filter host android and faced the next error:

SA Android Error 1

Also, tried to launch IOS. Started from the pod installation via pnpm pods, but no luck:

SA Pods Error 1 SA Pods Error 2

Therefore, pnpm --filter host ios throes the next error:

SA IOS Error 2

Reproducible Demo

I used command from the docs.

Android: pnpm --filter host android.
IOS: pnpm pods and pnpm --filter host ios.

@rezkiy37 rezkiy37 added the bug Something isn't working label Nov 18, 2023
@jbroma
Copy link
Member

jbroma commented Nov 18, 2023

Hey @rezkiy37,

I've fixed the issue with pods (outdated pods) in #75

For the android, please provide more detailed logs as I can't reproduce that - I did try running it on a fresh clone of repository and it worked without any issues

@rezkiy37
Copy link
Member Author

@jbroma, I've tried everything from the very beginning. Unfortunately, I have a problem with installing pods for IOS.

logs.mp4
Screenshot 2023-11-20 at 11 35 26

@rezkiy37
Copy link
Member Author

For Android I also have a problem:

logs.mp4

However, it added the app, but it is not loading.

Screenshot 2023-11-20 at 11 49 24

@rezkiy37
Copy link
Member Author

Once I've removed the app from the emulator and tried again, I have a progress:

1

But, there is a JS Error:

Screenshot 2023-11-20 at 12 00 22

@RafikiTiki
Copy link
Member

@rezkiy37 Run pnpm adbreverse and reload the app – this should fix it.

@rezkiy37
Copy link
Member Author

@rezkiy37 Run pnpm adbreverse and reload the app – this should fix it.

Yes, Android works now. Thank you!

@thymikee
Copy link
Member

@RafikiTiki any chance Re.Pack could detect this kind of issues and hint the user to adb reverse?

@rezkiy37
Copy link
Member Author

So, but what should I do to launch IOS, what I missed?

@leovido
Copy link

leovido commented Feb 5, 2024

I had the same issue. All I did was run pnpm pods each time it failed, which took 40m in the end to complete.

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

5 participants