Hive: Update dartx dependency to 0.4.0

Created on 5 May 2020  路  7Comments  路  Source: hivedb/hive

I am receiving this errors when trying to build:

Because no versions of hive_generator match >0.7.0+2 <0.8.0 and hive_generator 0.7.0+2 depends on dartx ^0.3.0, hive_generator ^0.7.0+2 requires dartx ^0.3.0.
So, because mydenox_flutter depends on both dartx ^0.4.0 and hive_generator ^0.7.0+2, version solving failed.
pub get failed (1; So, because mydenox_flutter depends on both dartx ^0.4.0 and hive_generator ^0.7.0+2, version solving failed.)
enhancement

Most helpful comment

@marcelgarus, this is not a good solution. This is a temporary fix to continue working, thanks for that.

All 7 comments

Duplicate of #247

When will this issue be fixed? With new stable Flutter hive_generator is totally broken

I have this problem too. hope for fix

As pointed out in #247, you can override the dependency in your pubspec.yaml like this:

dependencies:
  ...

dependency_overrides:
  dartx: ^0.4.0

@marcelgarus, this is not a good solution. This is a temporary fix to continue working, thanks for that.

Oh of course. This is temporary, sorry for not making that clear up front

Fixed in latest version of the package

Was this page helpful?
0 / 5 - 0 ratings