在系统上:Dart VM 版本:2.9.0-14.0.dev.flutter-2b917f5b6a (be) (Wed Jun 10 15:46:47 2020 +0000) on "windows_x64"
运行“aqueduct db generate”来创建 00000001_initial.migration.dart 是可以的 但是,在编辑模型并重新运行“aqueduct db generate”后,我得到如下消息。删除00000001_initial.migration.dart后重新运行,就OK了。
消息:
-- Aqueduct CLI 版本:3.3.0+1 -- Aqueduct 项目版本:3.2.0 *** 未捕获错误错误状态:NoSuchMethodError:getter 'length' 被调用为 null。接收者:空尝试调用:长度 **** Stacktrace
- #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
- #1 _ClassMirror.newInstance (dart:mirrors-patch/mirrors_impl.dart:653:44)
- #2 Executable.instanceOf (data:application/dart:14:813)
- #3 SchemaBuilderExecutable.execute (data:application/dart:13:873)
- #4 主要(数据:应用程序/飞镖:9:35)
- #5 _startIsolate。(dart:isolate-patch/isolate_patch.dart:297:32)
- #6 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
请帮我!