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

Next.js import uxuycom/web3-tg-sdk meet #8

Open
carzygod opened this issue Jan 2, 2025 · 0 comments
Open

Next.js import uxuycom/web3-tg-sdk meet #8

carzygod opened this issue Jan 2, 2025 · 0 comments

Comments

@carzygod
Copy link

carzygod commented Jan 2, 2025

Hello

When i try use @uxuycom/web3-tg-sdk in my own nextjs project .

using import { WalletTgSdk } from '@uxuycom/web3-tg-sdk';

And i try use it via :

      const { solana } = new WalletTgSdk({
          metaData: {
              icon: "icon_url",
              name: "name",
              hostname: "hostname"
          }
      });

Meet following issues :

 ⚠ Fast Refresh had to perform a full reload due to a runtime error.
 ✓ Compiled in 253ms
 ⨯ Error: Failed to load external module @uxuycom/web3-tg-sdk: SyntaxError: Unexpected token 'export'

How can i avoid or fix this issues ?

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

1 participant