Skip to content

[tool] on Windows flutter test --platform=chrome crashes with Dart Kernel error #116495

@yjbanov

Description

@yjbanov

Steps to Reproduce

Using a Windows computer From flutter/flutter repository root:

  1. cd packages/flutter
  2. flutter test --platform=chrome .\test\widgets\router_test.dart

Expected results:

The test should run.

Actual results:

The tool crashes with this:

Error: Error when reading 'c:/code/flutter/flutter/bin/cache/flutter_web_sdk/kernel/ddc_outline.dill': StandardFileSystem only supports file:* and data:* URIs

I checked and c:/code/flutter/flutter/bin/cache/flutter_web_sdk/kernel/ddc_outline.dill does exist. Perhaps it's complaining about the / in a Windows path?

I reproduced it in 19ef0f9

I'm suspecting this started with flutter/engine#37940, but I don't have a proof.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionc: crashStack traces logged to the consolec: fatal crashCrashes that terminate the processplatform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions