Skip to content

Testing Dart 3.8.0 in github actions - Could not find a command named "/Users/runner/hostedtoolcache/dart/3.8.0/arm64/bin/snapshots/frontend_server.dart.snapshot". #157

@atreeon

Description

@atreeon

Everything works fine locally.

When running tests on the server I'm getting the following error:
Could not find a command named "/Users/runner/hostedtoolcache/dart/3.8.0/arm64/bin/snapshots/frontend_server.dart.snapshot".

I've tried it with dart, flutter, ubuntu and macos builds.

Any ideas? I've tried newer and older versions of packages etc. I might be doing something stupid!

It looks like dart sdk v3.8.0 doesn't include the necessary files in order to run tests. Or perhaps something in test is making it look for the frontend_server.dart.snapshot when it shouldn't. I need to use sdk 3.8.0 or later in order for my code to compile.

https://github.com/atreeon/morphy/tree/codex/suggest-ci-workflow-for-release-folder

There was this here:
dart-lang/sdk#56601

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