-
Notifications
You must be signed in to change notification settings - Fork 231
Dart transformer unable to access local codegen.dart file for Angular2Dart quickstart #1474
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
Comments
@mvlazar Is this still occurring for you? |
Yes, the issue occurred last time I've checked with SDK 1_21_1. Only behind corporate firewall. |
I found out this behavior: when http_proxy and https_proxy is set:
after
The result is the same, but after
|
I was missing |
We are no longer supporting transformers or We'll be updating the tooling section of the Dart website in the coming weeks with more formal documentation on how to get started. |
Given the following environment:
When I try to create the AngularDart quickstart project I get the following error when running pub get:
ERR : Transformer library "package:angular2/transform/codegen.dart" not found.
I am behind a firewall and proxy, but the http_proxy and https_proxy are set and the local pub cache is filled. The root of the error seems to be:
FINE: Wrapped exception: Unable to spawn isolate: Unhandled exception:
| Could not import "package:angular2/transform/codegen.dart" from "file:///C:/Users/localUser/AppData/Local/Temp/pub_edec2900-b22e-11e6-8dab-50465d2e52ac/runInIsolate.dart": Failure getting http://localhost:1182/packages/angular2/transform/codegen.dart:
| 503 Service Unavailable
Is it expected for the transformer to spawn a local process to serve the codegen.dart ? The file is downloaded and placed in the local pub cache.
Attached is the verbose output from the pub command.
output.txt
This issue is similar to #1406 and #1397
The text was updated successfully, but these errors were encountered: