You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Same! A lot of recent versions of popular packages, including build_runner rely on web ^1.1.0 which causes errors when attempting to update:
Because build_runner 2.4.15 depends on web ^1.1.0 and segment_analytics 1.1.2 depends on web >=0.3.0 <=1.0.0, build_runner 2.4.15 is incompatible with segment_analytics 1.1.2.
Failed to update packages.
Users have to apply this temporary fix in every package of their project which is inconvenient:
I got the following error on my app
the solution is very simple
make web package support > 1.0.0 and < 2.0.0
I solved it in my project by
The text was updated successfully, but these errors were encountered: