Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on dart:io #57

Closed
parnham opened this issue Feb 17, 2017 · 5 comments
Closed

Dependency on dart:io #57

parnham opened this issue Feb 17, 2017 · 5 comments

Comments

@parnham
Copy link

parnham commented Feb 17, 2017

The latest update 0.11.3+10 which removes the mirrors dependency, adds a dependency to "dart:io" which the BrowserClient can see (via BaseClient -> Client -> IOClient). Whilst it still works when compiled to javascript, when running in Dartium it throws the following error:

The requested built-in library is not available on Dartium.'package:http/src/io_client.dart': error: line 6 pos 1: library handler failed
import 'dart:io';
^: package:http/src/io_client.dart
@matanlurey
Copy link
Contributor

Have you updated your version of Dartium? I believe you need a version that has the 1.22.0 VM.

@parnham
Copy link
Author

parnham commented Feb 17, 2017

That was my first thought also :)
Have just double checked and I am running dartium-linux-x64-stable-1.22.0.0 and still getting the error I'm afraid.

@matanlurey
Copy link
Contributor

/cc @jacob314, @mit-mit - shouldn't this be fine? It's not in 1.23.0, is it?

@parnham
Copy link
Author

parnham commented Feb 17, 2017

I just pulled 1.23.0 instead and our application is working again.

@matanlurey
Copy link
Contributor

Thanks! Looks like we need to up the pubspec, it's not accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants