You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The non-release, dartdevc build of my Dart Angular web app is failing with dev SDK releases 2.8.0-dev.15.0 and 2.8.0-dev.16.0. It is working with 2.8.0-dev.10.0, and probably most of the ones between dev.10 and dev.15, I'll narrow it down more. Webdev is 2.5.6
I'm unclear whether this is a webdev problem or a dartdevc problem, or specific to the interface between the two. The error I see is "Bad state: Process is detached" when it tries to run the ddc compiler.
I'll look into debugging this, running in verbose modes, and pinning down the version where the problem begins. The problem can be reproduced by checking out the dart-lang/dart_ci repository and trying to build with the command:
pub global run webdev serve web:53322 --no-release -v
The stack trace shows a failure in bazel_worker, but it looks like the process it started got detached, not a bug in the bazel_worker code. Because public angular has not been updated in a year, it had some conflicting old dependencies, so I also tried updating them, but got the same result. My overrides (which made no difference to the failure) are:
This seems to be an unfixable breakage in the angular workflow now, because if I use bazel_worker 0.1.23+1, then I need to use protobuf 0.14.4, and angular framework code breaks with protobuf 0.14.4.
I will file an issue against Dart angular about this.
The workaround is to use dart2js by adding the --release flag to webdev serve.
The non-release, dartdevc build of my Dart Angular web app is failing with dev SDK releases 2.8.0-dev.15.0 and 2.8.0-dev.16.0. It is working with 2.8.0-dev.10.0, and probably most of the ones between dev.10 and dev.15, I'll narrow it down more. Webdev is 2.5.6
I'm unclear whether this is a webdev problem or a dartdevc problem, or specific to the interface between the two. The error I see is "Bad state: Process is detached" when it tries to run the ddc compiler.
I'll look into debugging this, running in verbose modes, and pinning down the version where the problem begins. The problem can be reproduced by checking out the dart-lang/dart_ci repository and trying to build with the command:
pub global run webdev serve web:53322 --no-release -v
The stack trace shows a failure in bazel_worker, but it looks like the process it started got detached, not a bug in the bazel_worker code. Because public angular has not been updated in a year, it had some conflicting old dependencies, so I also tried updating them, but got the same result. My overrides (which made no difference to the failure) are:
The text was updated successfully, but these errors were encountered: