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

WASM Compilation Error with dart:html #160

Open
max-anders opened this issue Dec 6, 2024 · 0 comments
Open

WASM Compilation Error with dart:html #160

max-anders opened this issue Dec 6, 2024 · 0 comments

Comments

@max-anders
Copy link

Hi,

I’m trying to compile my web app with WASM to address an issue with another package, but I ran into the following error:

The unavailable library 'dart:html' is imported through these packages:
    web_plugin_registrant.dart => package:on_audio_query_web => dart:html

It seems like this issue could potentially be resolved by replacing a couple of dart:html imports.

For context, I’m not currently using this package on the web. I was considering conditionally importing the package as a workaround, but I’m not sure how to achieve this. Any guidance would be greatly appreciated!

Thanks for your help!

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