Skip to content

Issue with dependency_overrides.yaml in stream_chat_v1 #99

@ChefQ

Description

@ChefQ

When i run: flutter pub get.

Flutter tries to load packages from Github: https://github.com/GetStream/stream-chat-flutter.git

However, in the dependency_overrides.yaml file, they set ref as "develop",
but there isn't a "develop" branch in the GitHub repo: https://github.com/GetStream/stream-chat-flutter.git

There is a master branch, so I decided to change the refs from "develop" to "master."

Then I got a versioning issue: uuid: ^3.0.7 is not compatible.

After I fixed the versioning issue, I noticed that some of the widgets and functions used in the code base didn't exist.

Finally, to solve this issue, I simply deleted the dependency_overrides, and it worked fine.

However, I am not sure if the authors of the app intended for this:

Original error message:

Because example depends on stream_chat_localizations from git which doesn't exist (Could not find git ref 'develop' (fatal: ambiguous argument 'develop': unknown revision or path not
in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]')), version solving failed.

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