heruijun / flutter_boss

flutter仿BOSS直聘(二),大前端技术实现

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

启动抛错

Seek-knowledge opened this issue · comments

[ +24 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "554BF24E-90D0-4205-A282-92BF7360C615""
[ +8 ms] [DEVICE LOG] Timestamp (process)[PID]
[+2207 ms] compiler message: lib/app/view/message_view.dart:46:20: Error: Method not found: 'MessageListItem'.
[ ] compiler message: child: new MessageListItem(message)
[ ] compiler message: ^^^^^^^^^^^^^^^
[ +3 ms] compiler message: lib/app/view/message_view.dart:46:35: Error: Too many positional arguments: 0 allowed, but 1 found.
[ ] compiler message: Try removing the extra positional arguments.
[ ] compiler message: child: new MessageListItem(message)
[ ] compiler message: ^^^^^^^^^
[ +427 ms] compiler message: lib/app/model/company.dart:30:12: Error: Getter not found: 'JSON'.
[ ] compiler message: return JSON
[ ] compiler message: ^^^^
[ +1 ms] compiler message: lib/app/model/job.dart:23:12: Error: Getter not found: 'JSON'.
[ ] compiler message: return JSON
[ ] compiler message: ^^^^
[ ] compiler message: lib/app/model/message.dart:21:12: Error: Getter not found: 'JSON'.
[ ] compiler message: return JSON
[ ] compiler message: ^^^^
[ +547 ms] Compiler failed on /Volumes/D/code/Flutter/ios_apps/flutter_boss/lib/main.dart
[ ] Error launching application on iPhone 8 Plus.
[ +9 ms] "flutter run" took 6,234ms.

#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:417:7)

#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:356:18)
#3 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

======================
PS:刚刚好入坑~~