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

Missing entry point in wallet-adapter-react #56

Closed
aa-deet-eeya opened this issue Sep 5, 2021 · 7 comments
Closed

Missing entry point in wallet-adapter-react #56

aa-deet-eeya opened this issue Sep 5, 2021 · 7 comments

Comments

@aa-deet-eeya
Copy link

Similar issue to #52

Tho looking at the package inside node_modules it seems like the entry point mentioned in package.json as
"main": "lib/index.js", is missing inside wallet-adapter-react

image

version : 0.9.0

@jordaaash
Copy link
Collaborator

Just as with the issue you linked, did you run the instructions on building from source? That directory should only be missing if you didn't run yarn build after yarn install. Please reopen if this doesn't fix your issue.

@aa-deet-eeya
Copy link
Author

@jordansexton
Actually I used npm i @solana/wallet-adapter-react to install the package. And from my understanding yarn build inside my project won't build the dependencies.

@aa-deet-eeya
Copy link
Author

Did the same test again in a fresh install with just @solana/wallet-adapter-react as a dependency,
here's the package.json
image

And here's the index.tsx, still has the same issue
image

@jordaaash jordaaash reopened this Sep 5, 2021
@jordaaash
Copy link
Collaborator

Thanks for the steps to reproduce! I'll check it out.

@beautyfree
Copy link

beautyfree commented Sep 5, 2021

Same issue, found the same reasons - missing folder lib

@jordaaash
Copy link
Collaborator

New build running now :)

@jordaaash
Copy link
Collaborator

Published, version 0.9.1 should fix the issue. Looks like there was a problem with the build before publishing. Thanks for the report!

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