Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Error: Unsupported operation: dart:isolate is not supported on dart4web #3

Open
4F2E4A2E opened this issue Nov 11, 2020 · 1 comment

Comments

@4F2E4A2E
Copy link

Hey there, thank you for this lib.
Can you imagine adding web support for it?

Error: Unsupported operation: dart:isolate is not supported on dart4web
    at Object.throw_ [as throw] (http://localhost:50470/dart_sdk.js:4339:11)
    at Object._unsupported (http://localhost:50470/dart_sdk.js:59179:15)
    at isolate$._ReceivePort.new.get sendPort [as sendPort] (http://localhost:50470/dart_sdk.js:58861:23)
    at iso.Iso.new.run (http://localhost:50470/packages/iso/src/iso.dart.lib.js:74:88)
    at run.next (<anonymous>)
    at runBody (http://localhost:50470/dart_sdk.js:37699:34)
    at Object._async [as async] (http://localhost:50470/dart_sdk.js:37730:7)
    at iso.Iso.new.run (http://localhost:50470/packages/iso/src/iso.dart.lib.js:72:20)
    at geojson.GeoJson.new._parse (http://localhost:50470/packages/geojson/src/geojson.dart.lib.js:390:32)
    at _parse.next (<anonymous>)
    at runBody (http://localhost:50470/dart_sdk.js:37699:34)
    at Object._async [as async] (http://localhost:50470/dart_sdk.js:37730:7)
    at geojson.GeoJson.new.[_parse] (http://localhost:50470/packages/geojson/src/geojson.dart.lib.js:375:20)
    at geojson.GeoJson.new.parse (http://localhost:50470/packages/geojson/src/geojson.dart.lib.js:285:26)
    at nearby_airports._NearbyAirportsPageState.new.loadAirports (http://localhost:50470/packages/flutter_map_demo/airports/nearby_airports.dart.lib.js:359:24)
    at loadAirports.next (<anonymous>)
    at http://localhost:50470/dart_sdk.js:37679:33
    at _RootZone.runUnary (http://localhost:50470/dart_sdk.js:37533:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:50470/dart_sdk.js:32507:29)
    at handleValueCallback (http://localhost:50470/dart_sdk.js:33054:49)
    at Function._propagateToListeners (http://localhost:50470/dart_sdk.js:33092:17)
    at async._AsyncCallbackEntry.new.callback (http://localhost:50470/dart_sdk.js:32818:27)
    at Object._microtaskLoop (http://localhost:50470/dart_sdk.js:37794:13)
    at _startMicrotaskLoop (http://localhost:50470/dart_sdk.js:37800:13)
    at http://localhost:50470/dart_sdk.js:33309:9
Flutter 1.23.0-18.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 198df796aa (4 weeks ago) • 2020-10-15 12:04:33 -0700
Engine • revision 1d12d82d9c
Tools • Dart 2.11.0 (build 2.11.0-213.1.beta)
@deepak9166
Copy link

Im getting same issue when i try to use isolate for web applicatoon

Error: Unsupported operation: dart:isolate is not supported on dart4web at Object.throw_ [as throw] (http://localhost:49782/dart_sdk.js:5080:11) at Object._unsupported (http://localhost:49782/dart_sdk.js:61790:15) at get sendPort [as sendPort] (http://localhost:49782/dart_sdk.js:61460:23) at web_start_page._WebStartPageState.new.<anonymous> (http://localhost:49782/packages/coachingzoneplayer/screens/home.dart/join_team.dart.lib.js:9155:126) at Generator.next (<anonymous>) at runBody (http://localhost:49782/dart_sdk.js:40660:34) at Object._async [as async] (http://localhost:49782/dart_sdk.js:40691:7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants