-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
TypeError: Cannot read property 'NativeModule' of undefined, js engine: hermes #8316
Comments
Taking a look at the code (I worked on it before), it seems to require some other libraries like If you are not using expo, you might not have those libraries then it won't work. I think if you install You can also take what you need from |
Thanks both, I tried the workaround on my bare project and it did not work, but when I coded a dummy app using expo, it did so I'm assuming it is not working because these dependencies just don't work with react native bare projects. Another thing to note is that when trying to run predictions on images, the app crashes |
J'ai exactement le même problème, si on peut m'aider (nous aider), c'est génial. |
@Usama-Nazir Same issue here. Where you able to solve it? |
anymore progress here? same issue for me |
Same issue here. |
Hi everyone, I haven't used this library recently, but this error is usually a sign that your native modules are not loaded. This could happen if you use expo go, and it's missing a required native module. Expo team decides which modules are included in expo go, so it could be that they removed a module required by tfjs in expo go. In any case, you should use expo dev client for development and testing, in which you can control which native modules are installed. Hope this helps. |
Same issue here. |
This issue is not related to tensorflow it seems, but to expo - I think. But I also couldn't detect where it specifically comes from in my case. Related to: |
The same error occurs when using Expo assets. |
Im using the latest versions of react native and the tfjs package. But when ai try to import bundleIOResources specifically. I get the error TypeError: Cannot read property 'NativeModule' of undefined, js engine: hermes
My project does not use expo, it is not an expo managed app
The text was updated successfully, but these errors were encountered: