lvivski / start

Sinatra inspired web development framework for Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class '_HttpResponse' has no instance method 'write'.

GreyDev opened this issue · comments

commented

A clean install of the example application crashes upon first GET request with an error. No response is returned from the Start HTTP server.

Full error message can be found in this gist.

Dart Editor also reports:
"HttpResponse" has no method named "write" - response.dart [Line 60]
`"HttpResponse" has no method named "write" - response.dart [Line 64]``

As such the example application is broken.

What version of dart-sdk do you use? It can be found using dart --version. If you use dart-sdk bundles with Dart Editor, try to update it, please.

commented

An update fixed the issue... now I feel stupid.

Dart API changes a lot, and often changes are not backward compatible. So it's important to be always up to date.