Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with dependency_overrides.yaml in stream_chat_v1 #99

Open
ChefQ opened this issue May 1, 2024 · 1 comment
Open

Issue with dependency_overrides.yaml in stream_chat_v1 #99

ChefQ opened this issue May 1, 2024 · 1 comment

Comments

@ChefQ
Copy link

ChefQ commented May 1, 2024

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.

@WingCH
Copy link

WingCH commented Aug 25, 2024

can remove this file pubspec_overrides.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants