angular_router: 2.0.0-alpha compatible with angular 5.0.0-alpha?

Created on 26 Oct 2017  路  5Comments  路  Source: angulardart/angular

Is angular_router (2.0.0-alpha) compatible with angular (5.0.0-alpha), and if so, how can I do a manual dependency override?

Most helpful comment

I don't see any reason why not. You can add this to your pubspec.yaml:

dependency_overrides:
  angular: ^5.0.0-alpha

... and try it out. Please let us know if you have other questions :)

All 5 comments

I don't see any reason why not. You can add this to your pubspec.yaml:

dependency_overrides:
  angular: ^5.0.0-alpha

... and try it out. Please let us know if you have other questions :)

Thank you @matanlurey! I appreciate all the good work you all are doing. 馃槃

Hi @matanlurey today I started trying your advice, in my project pubspec.yaml file:

environment:
  sdk: '>=1.24.0 <2.0.0'
dependencies:
  angular: ^5.0.0-alpha
  angular_components: ^0.9.0-alpha
  angular_forms: ^1.0.1-alpha
  angular_router: ^2.0.0-alpha
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
  sass_builder: ^1.0.0

but Resolving dependencies...

Incompatible version constraints on angular:
- angular_components 0.9.0-alpha depends on version 5.0.0-alpha
- angular_forms 1.0.1-alpha depends on version ^5.0.0-alpha
- angular_router 2.0.0-alpha depends on version ^4.0.0
- huastecappadmin depends on version ^5.0.0-alpha
Process finished with exit code 1

Any Idea?

Add this to your pubspec.yaml @abnerh69:

dependency_overrides:
  angular: ^5.0.0-alpha

:smile:

Yes, I didn't see "_overrides". Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matanlurey picture matanlurey  路  4Comments

ranquild picture ranquild  路  6Comments

Adamovskiy picture Adamovskiy  路  6Comments

AndreyChernykh picture AndreyChernykh  路  4Comments

matanlurey picture matanlurey  路  3Comments