Skip to content

unable to run compass_app #2729

@resnickj

Description

@resnickj

Following the instructions here, specifically:

$ cd app
$ flutter run --target lib/main_development.dart

produces the following output:

Connected devices:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.6584]
Chrome (web)      • chrome  • web-javascript • Google Chrome 139.0.7258.157
Edge (web)        • edge    • web-javascript • Microsoft Edge 139.0.3405.125
[1]: Windows (windows)
[2]: Chrome (chrome)
[3]: Edge (edge)
Please choose one (or "q" to quit): 2
Found a pubspec.yaml at c:\users\[redacted]\flutter\samples\compass_app\app. But it has resolution `workspace`.
But found no workspace root including it in parent directories.

See https://dart.dev/go/pub-workspaces for more information.
Failed to update packages.

Also, when opening the project in VS Code, there are a number of unresolved package dependencies:

Image

I am new to the flutter/dart ecosystem, and it's unclear to me how to resolve these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions