-
Notifications
You must be signed in to change notification settings - Fork 1.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Unable to resolve "ai/react" in React Native #498
Comments
Also experiencing this issue. |
Might have to enable https://reactnative.dev/blog/2023/06/21/package-exports-support#enabling-package-exports-beta
|
Looking a bit more into it, even if the package resolution is fixed, it doesn't seem to work with React Native yet because this package uses streams, and RN hasn't yet implemented streams for their fetch API |
Looks like now there is a fetch implementation that support streams in React Native Would it be possible to use this with ai/react ? |
@sebnun I gave it a quick try and couldn't make it work, but it may be possible. |
As this isn't really a problem with the |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I am trying to use the following code in React Native:
Behavior
It throws this exception when starting the app:
Unable to resolve "ai/react"
Is this package supported in
React
environments? Or onlyNext.js
?The text was updated successfully, but these errors were encountered: