Flutter 1.20.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 216dee60c0 (8 days ago) • 2020-09-01 12:24:47 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2
flutter pub run environment_config:generate
Precompiling executable...
Failed to precompile environment_config:generate:
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:32:8: Error: Error when reading '../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/meta_meta.dart': No such file or directory
import 'package:meta/meta_meta.dart';
^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1456:43: Error: Type 'TargetKind' not found.
bool _isValidTarget(AstNode target, Set<TargetKind> kinds) {
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1499:7: Error: Type 'TargetKind' not found.
Set<TargetKind> _targetKindsFor(ElementAnnotation annotation) {
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1843:14: Error: Type 'TargetKind' not found.
extension on TargetKind {
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1456:43: Error: 'TargetKind' isn't a type.
bool _isValidTarget(AstNode target, Set<TargetKind> kinds) {
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1458:29: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
- 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
return kinds.contains(TargetKind.classType) ||
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1459:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
- 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
kinds.contains(TargetKind.type);
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1462:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
- 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
kinds.contains(TargetKind.library);
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1464:29: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
- 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
return kinds.contains(TargetKind.enumType) ||
^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1465:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
- 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
kinds.contains(TargetKind.type);
^^^^^^^^^^
pub finished with exit code 1```