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

AgoraRTCErrorCode is undefined when import from agora-rtc-react #190

Open
taitruong007 opened this issue Apr 2, 2024 · 2 comments
Open
Labels
bug: upstream help wanted Extra attention is needed

Comments

@taitruong007
Copy link

What kind of problem do you need help?

The enum AgoraRTCErrorCode is exported from agora-rtc-react, but when I import it to use, it returns an undefined value.

Screen Shot 2024-04-02 at 08 57 23

Code sandbox reproduce:
https://codesandbox.io/p/devbox/agora-rtc-react-forked-2v8qhp

@taitruong007 taitruong007 added the help wanted Extra attention is needed label Apr 2, 2024
@hyrious
Copy link
Collaborator

hyrious commented Apr 2, 2024

It is an upstream issue where agora-rtc-sdk-ng doesn't export AgoraRTCErrorCode. The agora-rtc-react only re-exports that package.

@guoxianzhe
Copy link
Collaborator

@ltsg123 Can we consider this things to make it happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: upstream help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants