Skip to content

Instantly share code, notes, and snippets.

@natanloterio
Created December 12, 2019 17:40
Show Gist options
  • Save natanloterio/17816438dbdfe56d2e12f0bbb9b1cd85 to your computer and use it in GitHub Desktop.
Save natanloterio/17816438dbdfe56d2e12f0bbb9b1cd85 to your computer and use it in GitHub Desktop.
git:(develop) ✗ screenshots
Starting flutter daemon... 0.7s
Unhandled exception:
type 'List<dynamic>' is not a subtype of type 'String'
#0 Config._processDevices.<anonymous closure>.<anonymous closure> (package:screenshots/src/config.dart:150:54)
#1 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#2 Config._processDevices.<anonymous closure> (package:screenshots/src/config.dart:137:15)
#3 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#4 Config._processDevices (package:screenshots/src/config.dart:136:13)
#5 Config.devices (package:screenshots/src/config.dart:57:7)
#6 Config.androidDevices (package:screenshots/src/config.dart:60:44)
#7 isValidConfig (package:screenshots/src/validate.dart:31:46)
<asynchronous suspension>
#8 Screenshots.run (package:screenshots/src/run.dart:109:16)
<asynchronous suspension>
#9 screenshots.<anonymous closure> (package:screenshots/src/run.dart:48:26)
<asynchronous suspension>
#10 AppContext.run.<anonymous closure> (package:tool_base/src/base/context.dart:154:29)
<asynchronous suspension>
#11 _rootRun (dart:async/zone.dart:1124:13)
#12 _CustomZone.run (dart:async/zone.dart:1021:19)
#13 _runZoned (dart:async/zone.dart:1516:10)
#14 runZoned (dart:async/zone.dart:1463:12)
#15 AppContext.run (package:tool_base/src/base/context.dart:153:18)
<asynchronous suspension>
#16 runInContext (package:screenshots/src/context_runner.dart:16:24)
<asynchronous suspension>
#17 screenshots (package:screenshots/src/run.dart:47:12)
<asynchronous suspension>
#18 main (file:///Users/natanloterio/.pub-cache/hosted/pub.dartlang.org/screenshots-2.1.1/bin/main.dart:122:25)
<asynchronous suspension>
#19 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment