-
Notifications
You must be signed in to change notification settings - Fork 109
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
When using the adapter, I encountered the issue "Module not found: Can't resolve 'aptos'." #405
Comments
Me too. the package is not compatible with Next.js 14 |
Me too, can anyone fix this? |
same issue here. You could try installing |
It's possible that the error occurred because 'use client' was not used, as the rendering process for components with the adapter takes place entirely on the client side. If this marker is missing, an error will be reported. |
I don't think that 'use client' will fix it, because I have the same issue using React, which is fully rendered on client. The only thing which helped me - is manual installing aptos by adding it to the project dependencies. |
Link
https://aptos.dev/en/build/sdks/wallet-adapter/dapp
Issues
When using the adapter, I encountered the following issue, and I hope to understand the reason why this problem was thrown.
code sandbox
code sandbox
Current status
package.json
src/app/layout.tsx
The text was updated successfully, but these errors were encountered: