Skip to content

Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime #161

@mdeleau

Description

@mdeleau

Hello,

I tried to install Monarch today for my project on MacOS (Sequoia 15.5) and encountered the following problem when running Monarch on my project. I followed the instructions on the Monarch website.

> monarch run
Using flutter sdk at /Users/<user>/Dev/flutter/bin/flutter
Enabling Flutter for desktop

Downloading the Monarch UI for this project's flutter version...

We could not find a compatible Monarch UI for this version of Monarch and Flutter.
You could try switching Flutter versions. Or, create a GitHub issue in the Monarch repo 
and let us know which Flutter version your project is using: 
https://github.com/Dropsource/monarch/issues

My monarch install :

> monarch --version
Monarch version 2.3.1

Monarch modules:
- cli: 3.1.0
- controller: 1.5.1
- platform_app: 2.2.0
- preview_api: 2.5.1

Revision:
b30507e5d091ae77938e896ee8e292bbedcc7198

My flutter install :

> flutter --version
Flutter 3.32.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 6fba2447e9 (3 weeks ago) • 2025-06-12 19:03:56 -0700
Engine • revision 8cd19e509d (3 weeks ago) • 2025-06-12 16:30:12 -0700
Tools • Dart 3.8.1 • DevTools 2.45.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions