Closed ynnob closed 1 year ago
We will take a look. Are you using Dart 2.18 ?
We will take a look. Are you using Dart 2.18 ?
Yes:
Found the problem. It is caused by analyzer:5.3.x
. There is an unknown change that break the code that works up to analyzer:5.2.x
. We have released angel3_orm_generator:7.1.1
as a temporary fix to lock the analyzer into 5.2.x. This is an ugly fix but necessary to allow more time to figure out how to fix the problem as there is nothing in the change log about this change. Just use angel3_orm_generator: ^7.1.1
to force analyzer 5.2.x to be used for the moment. Thanks for reporting it.
Found the problem. It is caused by
analyzer:5.3.x
. There is an unknown change that break the code that works up toanalyzer:5.2.x
. We have releasedangel3_orm_generator:7.1.1
as a temporary fix to lock the analyzer into 5.2.x. This is an ugly fix but necessary to allow more time to figure out how to fix the problem as there is nothing in the change log about this change. Just useangel3_orm_generator: ^7.1.1
to force analyzer 5.2.x to be used for the moment. Thanks for reporting it.
Thanks for the fast response! This is indeed weird that they didn't announce a change for that version.
The issue with analyzer:5.3.x
is fixed in angel_orm_generator:7.1.2
.
Because aggregation_server depends on angel3_serialize_generator ^7.1.1 which doesn't match any versions, version solving failed.
Because aggregation_server depends on angel3_serialize_generator ^7.1.2 which doesn't match any versions, version solving failed.
Is there a 7.1.1
and 7.1.2
release that I'm missing to find?
Have you tried with angel3_serialize_generator 7.0.0? Only angel3_orm_generator need to be updated to 7.1.2 to fix the analyzer issue. angel3_serialize_generator is not affected, hence no new release.
Thanks @dukefirehawk let me take a look and try.
@dukefirehawk That worked. I have verified it's fix for me. Thank you!
Error build_runner:
Setup
models.dart
pubspec.yaml
Note
When forking angel3 and resolving all packages the error exists in orm_build_context.dart:
While the setup above fails, the following dependencies can generate models as expected: