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

Module not found: Error: Can't resolve '@xmtp/react-sdk' on react-web 1.3.0-next.5 #486

Closed
moesalih opened this issue Aug 10, 2023 · 4 comments

Comments

@moesalih
Copy link

Describe the bug
Updating from @lens-protocol/react-web 1.3.0-next.4 to 1.3.0-next.5 causes this error when running the app:
Module not found: Error: Can't resolve '@xmtp/react-sdk'

Do I have to explicitly add @xmtp/react-sdk as a dependency?

@cesarenaldi
Copy link
Member

it's an optional peer dependency... you should not need to have it unless you use the corresponding hooks.

I'll review the import path tomorrow morning... in the meantime if you add the exact XMTP SDK dependency (still in preview from XMTP) it should sort your install.

@cesarenaldi
Copy link
Member

Fix landing soon: #487

@cesarenaldi
Copy link
Member

The XMTP issue is fixed in 1.3.0-next.7 if your are interested to try it.

@cesarenaldi
Copy link
Member

@moesalih happy to close this issue?

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

2 participants