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?
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
Most helpful comment
I don't see any reason why not. You can add this to your
pubspec.yaml:... and try it out. Please let us know if you have other questions :)