Skip to content

UnimplementedError: JS 'null' #87

Description

@JgomesAT

when run fluter with flag flutter run -d chrome --wasm i has thsi erro in console UnimplementedError: JS 'null' and 'undefined' are internalized as Dart null in dart2wasm. As such, they can not be differentiated and this API should not be used when compiling to Wasm.

main.dart.mjs:73 at module0.Error._throwWithCurrentStackTrace (errors_patch.dart:19:39)

at module0.NullableUndefineableJSAnyExtension|get#isUndefined (js_interop_patch.dart:33:27)

at module0._verifyWasmBindgenLoaded inner (web.dart:89:28)

at module0._awaitHelper closure at org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart:99:5 (async_patch.dart:100:32)

at module0.closure wrapper at org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart:99:5 trampoline (main.dart.wasm:0x3957e8)

at module0._RootZone.runUnary (zone.dart:962:54)

at module0._FutureListener.handleValue (body) (future_impl.dart:222:18)

at module0._FutureListener.handleValue (checked entry) (future_impl.dart:221:15)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions