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

An error, how to solve it? #832

Open
my-Gem opened this issue Dec 30, 2023 · 2 comments
Open

An error, how to solve it? #832

my-Gem opened this issue Dec 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@my-Gem
Copy link

my-Gem commented Dec 30, 2023

2023-12-30_170857

@my-Gem my-Gem added the bug Something isn't working label Dec 30, 2023
@onetrickwolf
Copy link
Collaborator

Hey the SDK currently requires top-level await which not supported by the target you have configured: https://caniuse.com/?search=top%20level%20await

Depending on your build system, would recommend just bumping the browser target.

If you are using an aleo template could you specify which template and which command you are using? If you are using vite:build that is currently unsupported and I'd recommend using the default build due to this note about vite and webpack: Note: Webpack is currently used for production builds due to a https://github.com/vitejs/vite/issues/13367 with Vite related to nested workers.

@Kochan4ik
Copy link

gm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants