Skip to content

Dependencies tree doesn't show correct nodes #5281

Closed

Description

@DanTup

Not sure what's up here, but I created a new project to repro an issue and the Dependencies tree lists a load of dependencies with no direct/transitive/dev nodes:

image

I thought I had broken something with the recent refactor, but that's still on a branch and not landed yet!

Activity

  1. added this to the v3.98.0 milestone on Sep 20, 2024
  2. DanTup commented on Sep 20, 2024

    @DanTup
    MemberAuthor

    I edited my pubspec and reloaded (for testing something else) and the tree fixed itself, so maybe something was wrong after creating the project and running Dart: Add Dependency didn't trigger it to be rebuilt?

  3. DanTup commented on Sep 24, 2024

    @DanTup
    MemberAuthor

    Easy repro:

    • Create a new project with Dart: New Project
    • Open Dependencies tree
    • If blank, run Reload Window
    • Tree contains everything shown above at the top level even though they're not dependencies

    When running from source, I see this:

    image

    However the selected SDK seems to match the required version. Where is 3.6.0-271.0.dev coming from? 🤔

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions