-
Notifications
You must be signed in to change notification settings - Fork 502
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
Error: Cannot read properties of undefined (reading 'forwardRef') #6481
Comments
I'd like to work on this issue. Is it still available? |
Yes, it is, @austineblaise |
@Marielbamar21 hard to say without the full code, but looks like you're trying to render a ConnectButton on the server side. Try using a client component |
Hey @Marielbamar21 - I don't see "react" and "react-dom" in package.json - Can you make sure that you have "react" and "react-dom" installed? |
if they are installed, the package.json I gave you is from a library in my monorepository, but globally react and react-dom are installed. these are the dependencies of my global package.json: |
I get the same issue when attempting to render the web version of my app in Expo... If it's helpful I can share my set up as well. |
@Marielbamar21 Please add "react" and "react-dom" to the individual library/app's package.json instead of monorepo root package.json If the issue persists - please provide a minimal github repository where we can replicate this issue |
@jamescbury Yes, please provide a minimal github repository where we can replicate this issue |
https://github.com/Marielbamar21/repo-test, issues replicated. @MananTank |
@Marielbamar21 Thanks for the repo - I can replicate the issue and working on fixing this |
@Marielbamar21 we just released |
Hi, I installed the library in my project, and when I run it, the library shows me this error, I am using react version 19.0.0.0.
main.tsx
insatalled packages
The text was updated successfully, but these errors were encountered: