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

ReferenceError: Property 'SkiaApi' doesn't exist, js engine: hermes #2039

Open
bj97301 opened this issue Dec 9, 2023 · 14 comments
Open

ReferenceError: Property 'SkiaApi' doesn't exist, js engine: hermes #2039

bj97301 opened this issue Dec 9, 2023 · 14 comments
Labels
bug Something isn't working

Comments

@bj97301
Copy link

bj97301 commented Dec 9, 2023

Description

I get this randomly when saving and auto-refreshing in expo 49 with ios. android seems to work fine.

Version

1.0.4

Steps to reproduce

hit save on a js file then wait for the app to reload.

expected: no error

actual: ReferenceError: Property 'SkiaApi' doesn't exist, js engine: hermes

Snack, code example, screenshot, or link to a repository

should be happening to most people's projects. If not ill whip up a snack.

@bj97301 bj97301 added the bug Something isn't working label Dec 9, 2023
@jackculprit
Copy link

I'm using a bare react native app, and this is happening to me too.

"react-native": "0.72.6",
"react": "18.2.0",
"@shopify/react-native-skia": "^0.1.230",

@PierreAndreis
Copy link

PierreAndreis commented Jan 3, 2024

in my case it shows up after my app tries to recover from an error boundary. reloading the app fixes it.

@christophemenager
Copy link

Same for me!

@SerranoPablo
Copy link

same

@xb1g
Copy link

xb1g commented Jan 18, 2024

I changed from bun to yarn and it's gone.

@bj97301
Copy link
Author

bj97301 commented Jan 18, 2024 via email

@bj97301
Copy link
Author

bj97301 commented Mar 27, 2024

This bug is super annoying. Is there any way I can help get this fixed?

@bj97301
Copy link
Author

bj97301 commented Mar 27, 2024

@wcandillon are you able to reproduce this issue?

@bj97301
Copy link
Author

bj97301 commented Mar 29, 2024

@chrfalch watcha thinkn? Can I help in any way?

@bj97301
Copy link
Author

bj97301 commented Apr 12, 2024

Does anyone on this thread have any tips on where I can start on fixing this?

@christophemenager
Copy link

I did not had this problem again, maybe because I upgraded to the latest version of skia and expo and reanimated? I am not sure why but I would try upgrading all libs involved first

@wcandillon
Copy link
Collaborator

@bj97301 please send us a small project where we can reproduce the issue.

@jackculprit
Copy link

It did eventually go away from me after updating tons of libs as well. Seems like the same happened for @christophemenager

@klcantrell
Copy link

klcantrell commented May 22, 2024

I encountered this today after updating Expo from 50 to 51 and updating a few other dependencies as well. I could only surface the error twice or so (full reloading on iOS), and haven't been able to resurface it since. If I can reliably reproduce it, I'll try to distill and send a small reproduction repo.

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

8 participants