angulardart/angular

Can't work together with grpc-dart-web

heihuhu310 opened this issue · 5 comments

Hi, I want to use AngularDart with gRPC-dart-web for web application, but I found the library crypto they dependency is not incompatible:

AngularDart 6.0.0.1 require crypto ^2.0.0 from analyzer >=0.39.5 <0.41.2
gRPC-dart-web(gRPC 3.0.0 in pub.dev) require crypto ^3.0.0

Dart SDK Version:
Dart SDK version: 2.12.2 (stable) (Wed Mar 17 10:30:20 2021 +0100) on "macos_x64"
AngularDart Version:
6.0.0.1
Platform: MacOS X
Browser: Chrome

Thank you!

Try using grpc version 2.9.0.

AngularDart 6.0.1 seems to depend on analyzer ^1.0.0 though, which depends on crypto ^3.0.0

AngularDart 6.0.1 seems to depend on analyzer ^1.0.0 though, which depends on crypto ^3.0.0

Not true. Angular 6.0.1 depends on analyzer version 0.40.0. What you see there is the master branch that contains an effort to migrate to NNBD.

Ah! Good catch

@Reductions Thank you so much, AngularDart 6.0.1 can work togther with gRPC 2.9.0 for web application.