Skip to content

make web package support > 1.0.0 and < 2.0.0 #134

@amrgetment

Description

@amrgetment

I got the following error on my app

Because segment_analytics 1.1.2 depends on web >=0.3.0 <=1.0.0 and no versions of segment_analytics match >1.1.2 <2.0.0, segment_analytics ^1.1.2 requires web >=0.3.0 <=1.0.0.
So, because ment depends on both web ^1.1.0 and segment_analytics ^1.1.2, version solving failed.

the solution is very simple
make web package support > 1.0.0 and < 2.0.0

I solved it in my project by

dependency_overrides:
  web: ^1.1.0

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