Fetch the repository succeeded.
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
## command
flutter --no-color packages get
## exception
YamlException: Error on line 44, column 4: Expected a key while parsing a block mapping.
╷
44 │ assets:
│ ^
╵
```
#0 Parser._parseBlockMappingKey (package:yaml/src/parser.dart:441:5)
#1 Parser._stateMachine (package:yaml/src/parser.dart:86:16)
#2 Parser.parse (package:yaml/src/parser.dart:47:19)
#3 Loader._loadMapping (package:yaml/src/loader.dart:169:23)
#4 Loader._loadNode (package:yaml/src/loader.dart:86:16)
#5 Loader._loadMapping (package:yaml/src/loader.dart:163:19)
#6 Loader._loadNode (package:yaml/src/loader.dart:86:16)
#7 Loader._loadDocument (package:yaml/src/loader.dart:62:20)
#8 Loader.load (package:yaml/src/loader.dart:54:20)
#9 loadYamlDocument (package:yaml/yaml.dart:51:25)
#10 loadYamlNode (package:yaml/yaml.dart:42:5)
#11 loadYaml (package:yaml/yaml.dart:34:5)
#12 FlutterManifest.createFromString (package:flutter_tools/src/flutter_manifest.dart:38:28)
#13 FlutterManifest.createFromPath (package:flutter_tools/src/flutter_manifest.dart:32:12)
#14 FlutterProject._readManifest (package:flutter_tools/src/project.dart:180:54)
#15 FlutterProjectFactory.fromDirectory (package:flutter_tools/src/project.dart:35:53)
#16 FlutterProject.fromDirectory (package:flutter_tools/src/project.dart:65:78)
#17 FlutterProject.fromPath (package:flutter_tools/src/project.dart:73:50)
#18 PackagesGetCommand.usageValues (package:flutter_tools/src/commands/packages.dart:80:55)
<asynchronous suspension>
#19 FlutterCommand._sendUsage (package:flutter_tools/src/runner/flutter_command.dart:410:58)
<asynchronous suspension>
#20 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:392:17)
<asynchronous suspension>
#21 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#22 _rootRun (dart:async/zone.dart:1124:13)
#23 _CustomZone.run (dart:async/zone.dart:1021:19)
#24 _runZoned (dart:async/zone.dart:1516:10)
#25 runZoned (dart:async/zone.dart:1463:12)
#26 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#27 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:375:20)
#28 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#29 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:396:21)
<asynchronous suspension>
#30 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#31 _rootRun (dart:async/zone.dart:1124:13)
#32 _CustomZone.run (dart:async/zone.dart:1021:19)
#33 _runZoned (dart:async/zone.dart:1516:10)
#34 runZoned (dart:async/zone.dart:1463:12)
#35 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#36 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#37 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#38 new Future.sync (dart:async/future.dart:224:31)
#39 CommandRunner.run (package:args/command_runner.dart:112:14)
#40 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#41 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:22)
<asynchronous suspension>
#42 _rootRun (dart:async/zone.dart:1124:13)
#43 _CustomZone.run (dart:async/zone.dart:1021:19)
#44 _runZoned (dart:async/zone.dart:1516:10)
#45 runZoned (dart:async/zone.dart:1500:12)
#46 run.<anonymous closure> (package:flutter_tools/runner.dart:60:18)
<asynchronous suspension>
#47 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#48 _rootRun (dart:async/zone.dart:1124:13)
#49 _CustomZone.run (dart:async/zone.dart:1021:19)
#50 _runZoned (dart:async/zone.dart:1516:10)
#51 runZoned (dart:async/zone.dart:1463:12)
#52 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#53 runInContext (package:flutter_tools/src/context_runner.dart:56:24)
<asynchronous suspension>
#54 run (package:flutter_tools/runner.dart:51:10)
#55 main (package:flutter_tools/executable.dart:62:9)
<asynchronous suspension>
#56 main (file:///Users/yanghaibo/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#57 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#58 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
```
## flutter doctor
```
[✓] Flutter (Channel master, v1.8.1-pre.11, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
• Flutter version 1.8.1-pre.11 at /Users/yanghaibo/flutter
• Framework revision 4cd12fc8b7 (2 days ago), 2019-07-02 18:24:25 -0700
• Engine revision 7d3e722349
• Dart version 2.5.0 (build 2.5.0-dev.0.0 67ab3be10d)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/yanghaibo/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• CocoaPods version 1.6.0
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 37.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] Connected device (3 available)
• iPhone Xʀ • 404EDFDD-735E-454B-A576-70268D8A17C0 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
• macOS • macOS • darwin-x64 • Mac OS X 10.14.5 18F132
• Chrome • chrome • web-javascript • Google Chrome 75.0.3770.100
! Doctor found issues in 1 category.
```
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。