Giter Club home page Giter Club logo

dart-comics's People

Contributors

eee-c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dart-comics's Issues

App does not run in checked mode

Running the crashes in checked mode:

Server started on port: 8000
Uncaught Error: type '_LinkedHashMapValueIterable' is not a subtype of type 'List<Object>' of 'function result'.
Stack Trace: 
#0      Dirty.values (package:dirty/dirty.dart:53:36)
#1      Comics.index (file:///Users/leroy/repos/git/dart-comics/app.dart:43:14)
#2      main.<anonymous closure>.<anonymous closure> (file:///Users/leroy/repos/git/dart-comics/app.dart:16:28)
#3      _rootRunUnary (dart:async/zone.dart:695)
#4      _RootZone.runUnary (dart:async/zone.dart:834)
#5      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#8      _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#9      _StreamController._add (dart:async/stream_controller.dart:438)
#10     _StreamController.add (dart:async/stream_controller.dart:395)
#11     _HttpServer._handleRequest (http_impl.dart:2119)
#12     _HttpConnection._HttpConnection.<anonymous closure> (http_impl.dart:1955)
#13     _rootRunUnary (dart:async/zone.dart:695)
#14     _RootZone.runUnary (dart:async/zone.dart:834)
#15     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#16     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#17     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#18     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#19     _StreamController._add (dart:async/stream_controller.dart:438)
#20     _StreamController.add (dart:async/stream_controller.dart:395)
#21     _HttpParser._doParse (http_parser.dart:596)
#22     _HttpParser._parse (http_parser.dart:256)
#23     _onData (http_parser.dart:722)
#24     _rootRunUnary (dart:async/zone.dart:695)
#25     _RootZone.runUnary (dart:async/zone.dart:834)
#26     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#27     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#28     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#29     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#30     _StreamController._add (dart:async/stream_controller.dart:438)
#31     _StreamController.add (dart:async/stream_controller.dart:395)
#32     _onData (dart:io-patch/socket_patch.dart:1355)
#33     _rootRunUnary (dart:async/zone.dart:695)
#34     _RootZone.runUnary (dart:async/zone.dart:834)
#35     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#36     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#37     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#38     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#39     _StreamController._add (dart:async/stream_controller.dart:438)
#40     _StreamController.add (dart:async/stream_controller.dart:395)
#41     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:950)
#42     multiplex (dart:io-patch/socket_patch.dart:604)
#43     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:115)


Unhandled exception:
type '_LinkedHashMapValueIterable' is not a subtype of type 'List<Object>' of 'function result'.
#0      _rootHandleUncaughtError.<anonymous closure>.<anonymous closure> (dart:async/zone.dart:677)
#1      _asyncRunCallback (dart:async/schedule_microtask.dart:18)
#2      _asyncRunCallback (dart:async/schedule_microtask.dart:21)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:119)

2 positional arguments expected 3 found leads to exception Class 'HttpRequest' has no instance method 'open' with matching arguments

I've just started on Dart for Hipsters - and downloaded the your_first_dart_app branch of the comics app. In M4 the Dart IDE reports problems with the arguments on the call to the method HttpRequest.open in comics.dart and comics_put.dart

For instance
req.open('post', '/comics', false);

On run there is an exception:

Breaking on exception: Class 'HttpRequest' has no instance method 'open' with matching arguments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.