-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility issues with build_runner #194
Comments
Try correct pubspec.yaml like this name: klretail
environment: dependencies: jaguar_orm: ^2.2.7 jaguar_query_postgres: ^2.2.6 dev_dependencies: |
I had a problem in my project. I had conflict with Flutter 1.20 and tests packages. I fixed it by change in jaguar_orm_gen pubspec analyser to analyzer: ^0.39.5. Do you think about dependencies upgrade? |
I'm also facing some conflicts after upgrading flutter to version 1.22.2, which forced me to upgrade some other packages. Now, I'm facing a conflict using jaguar_orm and mockito at the same time:
Would it be possible to upgrade |
The package wasn't updated for a while. Since the other generation related packages like chopper, mockito etc. continue to improve they rely on a newer version of the analyzer package. Therefore, this package should be upgrade to use a newer analyzer version, as it becomes impossible to use both packages together (even with dependency overrides). |
I will fix it |
I think, a good analyzer version would be "analyzer: ^0.40.4", which is compatible with build_runner "^1.11.1". A higher version requires further dependency updates. This is also compatible with the latest version of chopper_generator. |
Would be nice to get a new release with updated dependencies, thanks! 😄 👍 |
I will fix this. I am currently working Jaguar web server project. As soon as I am done with it, I will work on this pavkage. |
There is a compatibility issues between build_runner and jaguar_orm_gen
dev_dependencies:
build_runner: ^1.10.1
jaguar_orm_gen: ^2.2.30
Here is the error logs
Because no versions of jaguar_orm_gen match >2.2.30 <3.0.0 and jaguar_orm_gen 2.2.30 depends on analyzer ^0.38.0, jaguar_orm_gen ^2.2.30 requires analyzer ^0.38.0. And because build_runner >=1.10.1 <1.10.2 depends on analyzer 0.39.14 and build_runner >=1.10.2 requires SDK version >=2.10.0-0.0 <3.0.0, jaguar_orm_gen ^2.2.30 is incompatible with build_runner >=1.10.1. So, because todo_app depends on both build_runner ^1.10.1 and jaguar_orm_gen ^2.2.30, version solving failed. pub get failed (1; So, because todo_app depends on both build_runner ^1.10.1 and jaguar_orm_gen ^2.2.30, version solving failed.)
I tried the old version of build_runner (1.9.0) and it works. It only happens when I try to set the build_runner to its new version. and also when I try to import with json_serializable, it only works with version (3.2.2) but not with the newest version of json_serializable
The text was updated successfully, but these errors were encountered: