Skip to content

Dependency conflict: universe, intl, and awesome_snackbar_content #3

@brendansu

Description

@brendansu

Hi Mori,

I am running into dependency conflicts when onboarding with this repository.

In the initial run with flutter run, I ended up with this error message:

Resolving dependencies... (1.8s)
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


Because awesome_snackbar_content >=0.1.2 depends on flutter_localizations from sdk which depends on intl 0.20.2,
  awesome_snackbar_content >=0.1.2 requires intl 0.20.2.
So, because ride_share depends on both awesome_snackbar_content ^0.1.4 and intl ^0.19.0, version solving failed.
Failed to update packages.

Then I tried to change the version for intl to intl: ^0.20.2, and got the following error message:

Resolving dependencies... (1.1s)
Because universe 2.0.1 depends on intl ^0.19.0 and no versions of universe match >2.0.1 <3.0.0, universe ^2.0.1 requires
  intl ^0.19.0.
So, because ride_share depends on both universe ^2.0.1 and intl ^0.20.2, version solving failed.
Failed to update packages.

The dependencies for intl from awesome_snackbar_content and universe seemed to conflict with one another.

Would you please suggest a solution for this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions