Pub warnings while trying to run bwu_datagrid 0.0.18 and polymer+angular

106 views Asked by At

I'm trying to create a simple project with the latest versions of polymer, angular, and bwu_datagrid 0.0.18. I can't get pass the pub get, I get a warning and pub never downloads bwu_datagrid. I need help getting these 3 gems to work in symphony.

pubspec.yaml:
name: angu_poly
description: A sample web application
dependencies:
angular: any
polymer: any
bwu_datagrid: "0.0.18"

This is the warning I get:

Pub get failed, [1] Resolving dependencies... Incompatible version constraints on barback: - polymer 0.10.0-pre.0 depends on version >=0.9.0 <0.13.0 - pub itself depends on version >=0.13.0 <0.15.3

** Warning: Application may fail to run since packages did not get installed.Try running pub get again. **

Just in case, I'm on the latest dart editor/sdk:
Dart Editor version 1.7.2.release (STABLE) Dart SDK version 1.7.2

1

There are 1 answers

6
Günter Zöchbauer On BEST ANSWER

Add a specific version constraint to you pubspec.yaml.

dependencies:
  polymer: '>=0.15.1 <0.16.0'

This might lead to follow up errors. Continue accordingly for similar errors.
As last resort you can add dependency overrides to force a package no matter if it fulfills the constraints defined in the other imported packages (use at your own risk though).

 dependency_overrides:
   some_package: '=>1.0.0 <1.1.1'