Skip to content

Webdev + dart install + Flutter + Windows #2758

@davidmorgan

Description

@davidmorgan

After a long investigation here dart-lang/build#4330 :)

webdev as it is today will have problems if run using "dart install" and the Flutter SDK on Windows.

This is because

  • "dart install" means an AOT compile, which doesn't automatically know how to find the dart binary
  • on Windows the Flutter "bin" directory contains "dart.bat", not "dart.exe"

in addition to this it looks like dart.bat has problems correctly handling stdout/stderr, so possibly the right way to support this case is to find dart.bat in path then go from there to where Flutter keeps dart.exe.

Builders that find the Dart binary and launch it, for example to launch the frontend server, will have a similar problem if the builder is compiled with AOT. But I think webdev does not do this yet :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onpackage:webdevtriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions