从今天早上开始,内置值(pub run build_runner build
)的生成步骤失败,
[SEVERE] built_value_generator:built_value on lib/client.dart (cached):
Unknown error in BuiltValueGenerator for myproject|lib/client.dart.
NoSuchMethodError: The method 'getParsedLibraryByElement' was called on null.
Receiver: null
Tried calling: getParsedLibraryByElement(Instance of 'LibraryElementImpl')
我曾尝试从6.3.2升级到建筑价值6.6.0,但没有帮助
Dart版本为2.1.0-dev.9.4
欢迎提出任何建议