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

Add React as a dependency in wallet-adapter-react package #46

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

0xmaayan
Copy link
Collaborator

For some reason React was listed as a peerDependency and it can ends up with React package not being installed in node_modules - if it is not there, pnpm takes the references to whatever it has in the cache, and if it doesn't find it, the package doesnt know where to take it from and you end up with this error

image

This PR adds react to the dependencies array (where it should be).

Before
Screen Shot 2023-01-10 at 4 18 28 PM

After
Screen Shot 2023-01-10 at 4 18 57 PM

Copy link
Contributor

@gregnazario gregnazario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! now it finally works properly locally

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

Successfully merging this pull request may close these issues.

2 participants