Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Not compatible with dart version 2.4.0 #242

Open
pmlican opened this issue Jul 15, 2019 · 3 comments
Open

Not compatible with dart version 2.4.0 #242

pmlican opened this issue Jul 15, 2019 · 3 comments

Comments

@pmlican
Copy link

pmlican commented Jul 15, 2019

The current Dart SDK version is 2.4.0.

Because charted depends on hop >=0.20.0 which requires SDK version

=0.4.5+1.r21094 <2.0.0, version solving failed.

@pmlican pmlican changed the title dart version issue. Not compatible with dart version 2.4.0 Jul 15, 2019
@srawlins
Copy link
Contributor

It looks like this is only necessary for running the unit tests. You can comment out that hop dependency in pubspec.yaml if you are hacking on charted.

@pmlican
Copy link
Author

pmlican commented Jul 17, 2019

I want to follow the instructions and get it running locally on my machine.

git clone repository
pub get

When i comment hop dependency in pubspec.yaml. i got another error

"The current Dart SDK version is 2.4.0.
Because charted depends on browser any which requires SDK version <2.0.0,
version solving failed."

According to the prompt requires sdk version <2.0.0, but i don't want degrade

@bkonyi
Copy link
Contributor

bkonyi commented Aug 15, 2019

You should be safe to remove the dependency on browser and unittest as well.

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

No branches or pull requests

3 participants