upgrade nhost lints dependency
marcusrohden opened this issue · comments
Hi guys, could you please upgrade the lints dependency from nhost_sdk?
I'm trying to use the nhost_sdk ^3.0.2 and it's not compatible with the most recent versions of flutter_lints and lints.
Because no versions of flutter_lints match >2.0.1 <3.0.0 and flutter_lints 2.0.1 depends on lints ^2.0.0, flutter_lints ^2.0.1 requires lints ^2.0.0.
And because nhost_sdk >=2.0.2 depends on lints ^1.0.0, flutter_lints ^2.0.1 is incompatible with nhost_sdk >=2.0.2.
thank you
ran into this issue on latest flutter too.
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (4 weeks ago) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2
Can you try if using flutter pub upgrade
works?
Resolving dependencies...
Because nhost_sdk >=2.0.2 depends on lints ^1.0.0 and flutter_lints >=2.0.0 depends on lints ^2.0.0, nhost_sdk >=2.0.2 is incompatible with flutter_lints >=2.0.0.
So, because nhostapp depends on both nhost_sdk ^3.0.2 and flutter_lints ^2.0.0, version solving failed.
pub finished with exit code 1
lints
was part of dependencies
and not dev_dependencies
, so this caused a friction between other 3rd party packages.
The latest release should fix this problem. Let me know if it still persists, otherwise I'll close the issue.
fixed, thank you!