You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you compile an app that uses the legacy JS interop to Wasm, you get an exception "Dart library 'dart:html' is not available on this platform". This is a proposal to link to the new staticInterop documentation as part of the error message.
flutter build web --wasm
Target dart2wasm failed: ProcessException: Process exited abnormally:
../../../../.pub-cache/hosted/pub.dev/url_launcher_web-2.0.17/lib/url_launcher_w
eb.dart:6:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html' as html;
^
This could also display a message like "For more information on how to resolve this issue, go to dart.dev/static-js-interop".
If you compile an app that uses the legacy JS interop to Wasm, you get an exception "Dart library 'dart:html' is not available on this platform". This is a proposal to link to the new staticInterop documentation as part of the error message.
This could also display a message like "For more information on how to resolve this issue, go to dart.dev/static-js-interop".
cc: @kevmoo @joshualitt
The text was updated successfully, but these errors were encountered: