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

build_node_compilers is currently incompatible with Angular 5-alpha #15

Closed
chalin opened this issue Apr 4, 2018 · 5 comments
Closed

Comments

@chalin
Copy link

chalin commented Apr 4, 2018

This is related to angulardart/angular#1006 (cc @matanlurey @kwalrath)

Note that the latest version of x is incompatible with Angular 5-alpha:

> pub get
Resolving dependencies...
Because no versions of angular_test match >2.0.0-alpha+7 <3.0.0 and angular_test >=1.0.1
  <2.0.0-alpha+3 depends on args ^0.13.7, angular_test >=1.0.1 <2.0.0-alpha+3 or >2.0.0-alpha+7
  <3.0.0 requires args ^0.13.7.
And because angular_test >=2.0.0-alpha+3 <2.0.0-alpha+4 depends on angular ^5.0.0-alpha+5 and
  build_runner >=0.7.12 depends on args ^1.4.0, if build_runner >=0.7.12 and angular_test >=1.0.1
  <2.0.0-alpha+4 or >2.0.0-alpha+7 <3.0.0 then angular ^5.0.0-alpha+5.
And because angular_test >=2.0.0-alpha+4 <2.0.0-alpha+5 depends on angular ^5.0.0-alpha+6 and
  angular_test >=2.0.0-alpha+5 <2.0.0-alpha+7 depends on angular ^5.0.0-alpha+7, if build_runner
  >=0.7.12 and angular_test >=1.0.1 <2.0.0-alpha+7 or >2.0.0-alpha+7 <3.0.0 then angular
  ^5.0.0-alpha+5.
And because angular_test 2.0.0-alpha+7 depends on angular ^5.0.0-alpha+9 which depends on analyzer
  ^0.31.0+1, if build_runner >=0.7.12 and angular_test >=1.0.1 <3.0.0 then analyzer ^0.31.0+1 or
  angular ^5.0.0-alpha+9.
And because no versions of angular match >5.0.0-alpha+9 <6.0.0 and angular 5.0.0-alpha+9 depends
  on analyzer ^0.31.0+1, if build_runner >=0.7.12 and angular_test >=1.0.1 <3.0.0 then analyzer
  ^0.31.0+1.
And because every version of build_node_compilers depends on analyzer ^0.30.0 and
  angular_tour_of_heroes depends on build_runner ^0.8.0, angular_test >=1.0.1 <3.0.0 is incompatible
  with build_node_compilers.
So, because angular_tour_of_heroes depends on both build_node_compilers ^0.1.1 and angular_test
  ^2.0.0-alpha, version solving failed.

This is using the Dart SDK 2-dev.44.

@chalin
Copy link
Author

chalin commented Apr 4, 2018

Upgrading the analyzer version might be all that is needed.

@pulyaevskiy
Copy link
Owner

Thanks for report! I'll publish an update once #16 is merged.

@pulyaevskiy
Copy link
Owner

@chalin
Copy link
Author

chalin commented Apr 4, 2018

Thanks! Btw, might you have a simple hello-world style example that makes use of build_node_compilers?

@pulyaevskiy
Copy link
Owner

@chalin I created #17 to track this.

I could probably just copy-paste e2e_interop_test to build_node_compilers/example/.

Let me know (in #17) if there is anything you'd like to see there in particular!

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