Skip to content

Unhandled exception when creating mxis installer: Illegal argument in isolate message #309

@thomaswiradikusuma

Description

@thomaswiradikusuma

Continuing #308 :

I manually duplicated the contents of "x64" to its parent folder, and I got this error:

PS E:\code\app> dart run msix:create
Building package executable... 
Built msix:create.
creating msix installer...             /Unhandled exception:
Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'dart:isolate' Class: _Timer@1026248 (see restrictions listed at `SendPort.send()` documentation for more information)
 <- Instance of 'AnsiProgress' (from package:cli_util/cli_logging.dart)
 <- _currentProgress in Instance of 'StandardLogger' (from package:cli_util/cli_logging.dart)
 <- _logger in Instance of 'Assets' (from package:msix/src/assets.dart)
 <- Closure: (SendPort) => Future<void> from Function '_generateAssetsIcons@478045372':. (from package:msix/src/assets.dart)

#0      Isolate._spawnFunction (dart:isolate-patch/isolate_patch.dart:431:4)
#1      Isolate.spawn (dart:isolate-patch/isolate_patch.dart:400:7)
#2      Assets.createIcons (package:msix/src/assets.dart:33:19)
<asynchronous suspension>
#3      Msix._createMsix (package:msix/msix.dart:85:5)
<asynchronous suspension>
#4      Msix.create (package:msix/msix.dart:33:5)
<asynchronous suspension>
#5      main (file:///C:/Users/t/AppData/Local/Pub/Cache/hosted/pub.dev/msix-3.4.1/bin/create.dart:4:3)
<asynchronous suspension>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions