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
build_runner 2.1.7
/2.1.8
causes code generation to fail with several InconsistentAnalysisException
s
#3271
Comments
build_runner 2.1.8
causes code generation to fail with several InconsistentAnalysisException
s2.1.7
/2.1.8
causes code generation to fail with several InconsistentAnalysisException
s
Same here except downgrading to 2.1.6 doesn't resolve the issue. 🤔 |
Have the same issue. looks like there were no changes on build_runner, but it depends on so many packages. maybe a problem with them? |
same issue now :( wait for response |
I downgraded to build_runner 2.1.5 and I have analyzer 2.8.0 that works |
Confirmed, this works! Thanks @Petri-Oosthuizen |
it's work |
cc @scheglov |
related to dart-lang/sdk#48658 The best solution for now is as suggested to pin analyzer to 3.3.1: dependency_overrides:
analyzer: 3.3.1 Hoping to get a revert of 3.4.0 published until we can figure out the best resolution. |
It looks like this should be resolved in |
Pra mim, resolveu o problema. |
build_runner: ^2.1.7
After upgrading
build_runner
from2.1.6
to2.1.7
/2.1.8
, the following combination of packages seems to cause code generation to fail with severalInconsistentAnalysisException
s. Downgrading to2.1.6
and cleaningbuild_runner
's cache resolves the problem.The packages (taken from pubspec.lock):
Causes the code generation to fail with the following logs:
The text was updated successfully, but these errors were encountered: