Skip to content

[SEVERE] moor_generator:moor_generator on lib/constants.dart: #777

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

Closed
angel1st opened this issue Aug 19, 2020 · 1 comment
Closed

[SEVERE] moor_generator:moor_generator on lib/constants.dart: #777

angel1st opened this issue Aug 19, 2020 · 1 comment

Comments

@angel1st
Copy link

Hi @simolus3,
After executing flutter pub run build_runner build

I have got this:

[SEVERE] moor_generator:moor_generator on lib/constants.dart:

Bad state: Unexpected diagnostics:
D:\DevTools\flutter\bin\cache\dart-sdk\lib\core\uri.dart:3259:39 - Expected an identifier.
[SEVERE] moor_generator:moor_generator on lib/constants.dart:

Bad state: Unexpected diagnostics:
D:\DevTools\flutter\bin\cache\dart-sdk\lib\core\uri.dart:3259:39 - Expected an identifier.
[SEVERE] moor_generator:moor_generator on lib/constants.dart:

and unable to get moor files generated. What shall I do?

@simolus3
Copy link
Owner

I think this is caused by some Flutter and analyzer weirdness, see also dart-lang/build#2763. Temporarily adding analyzer: 0.39.14 as a dev_dependency should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants