Skip to content

"pub build" does not see package:observe/transformer.dart even if it's there #768

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

Closed
DartBot opened this issue Jun 5, 2015 · 7 comments
Closed
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#15582

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Install Dart IDE 1.0 from scratch
  2. Create new Web Application project from IDE using Polymer
  3. Run pub get
  4. Get "Got dependencies!" message
  5. Run pub build
  6. Get message: Transformer library "package:observe/transformer.dart" not found.
  7. >dir packages\observe
    2013-12-06 17:17 <DIR> .
    2013-12-06 17:17 <DIR> ..
    2013-10-17 17:43 2 225 html.dart
    2013-11-05 01:29 3 222 observe.dart
    2013-12-06 17:17 <DIR> src
    2013-11-08 02:13 436 transform.dart
    2013-11-08 02:13 15 315 transformer.dart
                   4 File(s) 21 198 bytes

As you can seen the package package:observe/transformer.dart is there.

What is the expected output? What do you see instead?
I'd like "pub build" to see the package that is there and build.

What version of the product are you using? On what operating system?
1.0, 32 bits
Windows 7 64

Please provide any additional information below.
I'm behind a proxy

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


added a screenshot of the packages


Attachment:
packages.PNG (21.06 KB)

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


Humm... sorry for that, but maybe that's a duplicate of 15161. Sort of (not same OS, but same symptom)

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


On the command line, removing HTTP_PROXY and HTTPS_PROXY env variables (windows) actually fixes the building problem.

It's a workaround: You need to build without proxy env variables; and to get/upgrade/... with the env variables.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


Still a not-so-minor bug: the message "Transformer library "package:observe/transformer.dart" not found." is misleading: the file is not missing.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/8631949?v=3" align="left" width="48" height="48"hspace="10"> Comment by floitschG


Added Area-Pub, Triaged labels.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-duplicate Closed in favor of an existing report labels Jun 5, 2015
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/1343914?v=3" align="left" width="48" height="48"hspace="10"> Comment by sgjesse


Looking at the proxy info in comment #­3, it looks like dart:io might try to use a proxy even when connecting using the loopback address.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


I think this is a duplicate of issue #729. I've filed issue #772 to track the error message issue.


Added Duplicate label.
Marked as being merged into #729.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant