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

在expo项目中安装使用 #11

Open
xiaoqiang1999 opened this issue Feb 19, 2024 · 3 comments
Open

在expo项目中安装使用 #11

xiaoqiang1999 opened this issue Feb 19, 2024 · 3 comments

Comments

@xiaoqiang1999
Copy link
Contributor

麻烦问一下,此库貌似不支持expo?
我在expo中安装上,导入后报错了

@xiaoqiang1999
Copy link
Contributor Author

image

错误信息:
ERROR TypeError: Cannot read property 'STATUS_NONE' of null, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

@gdoudeng
Copy link
Owner

这个我还真没测试过...

@SC-WSKun
Copy link

image

错误信息: ERROR TypeError: Cannot read property 'STATUS_NONE' of null, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

我也遇到这个情况,请问解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants