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

Dependency_overrides path seems ambiguous #220

Closed
Eugeniegrandit opened this issue Jul 21, 2022 · 1 comment
Closed

Dependency_overrides path seems ambiguous #220

Eugeniegrandit opened this issue Jul 21, 2022 · 1 comment

Comments

@Eugeniegrandit
Copy link

Eugeniegrandit commented Jul 21, 2022

Describe the bug

Path in dependency_overrides seems ambiguous.
It's not a bug, more a suggestion.

To Reproduce

Following the setup:

dependency_overrides:
font_awesome_flutter:
path: /path/to/your/font_awesome_flutter

I tried:

dependency_overrides:
font_awesome_flutter:
path: /dependencies/font_awesome_flutter

I got:

pub get failed (66; Because myApp depends on font_awesome_flutter from path which doesn't exist (could not find package font_awesome_flutter at "/dependencies/font_awesome_flutter"), version solving failed.)

I tried:

dependency_overrides:
font_awesome_flutter:
path: dependencies/font_awesome_flutter

It worked.

Expected behavior

I suggest modifying the path in the Readme from:

dependency_overrides:
font_awesome_flutter:
path: /path/to/your/font_awesome_flutter

to:

dependency_overrides:
font_awesome_flutter:
path: path/to/your/font_awesome_flutter

Hope it helps, thanks for this wonderful package!

@michaelspiss
Copy link
Collaborator

I love these kinds of proposals which aim to make stuff more beginner friendly. I can absolutely see how the first / might confuse people. Thanks for your help!

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