holepunchto / pear-expo-hello-world

17 stars 11 forks source link

App closes as soon as it opens. #8

Closed supersuryaansh closed 4 months ago

supersuryaansh commented 4 months ago

I have followed the instructions correctly step by step, and not made any change to the hello world pear expo application. Trying to run it in Android emulator on my Mac air M2, it closes as soon as it launches.

I was able to retrieve this error from logcat:

2024-03-23 12:11:25.184 10415-10488 libc to.holepunch.hellopear.app A Fatal signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x6bed0faaa8 in tid 10488 (mqt_js), pid 10415 (h.hellopear.app)

Any idea how to get this to work and what might be causing this?

n9lsjr commented 4 months ago

Same here, it does not work at all. App closes on start. HelloBare module not found is sometimes displayed in the debugger. Got this problem on both Windows and Intel Mac emulators. ( And phone )

n9lsjr commented 4 months ago

After some investigation it seems like i got this error: image

I noticed there was a PR solving this issue but after copying the updated file (and re-running hello-pear) I still got the same error.

n9lsjr commented 4 months ago

@supersuryaansh SOLVED I manually updated the vendor/bare module and the submodules bare\vendor\libutf bare\vendor\libjs etc..

image

supersuryaansh commented 4 months ago

@n9lsjr Thanks for the info mate, I saw a similar solution in the bare-developers channel on Keet but forgot to check it. This should work.