Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.
This repository was archived by the owner on May 29, 2023. It is now read-only.

No packages found when running MacOS #47

@EbenZhang

Description

@EbenZhang

I have a lot of packages in the /Users/xxx/.pub-cache/hosted/pub.dev/, but the getPackageRefs and getAllPackageVersions return empty collection.

  var cache = PubCache();
  var refs = cache.getPackageRefs();
  var versions = cache.getAllPackageVersions("<the package name i.e. libgit2dart>");

Versions:

  • pub-cache: 0.3.1
  • MacOS: 12.6.2

I tried chmod -R 777 ~/.pub-cache just in case it's a permission issue, but still didn't work.

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