Skip to content

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

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 Dec 11, 2013 · 8 comments
Closed
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Dec 11, 2013

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 Dec 11, 2013

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 Dec 11, 2013

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 Dec 11, 2013

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 Dec 11, 2013

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.

@floitschG
Copy link
Contributor

Added Area-Pub, Triaged labels.

@sgjesse
Copy link
Contributor

sgjesse commented Dec 11, 2013

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.

@nex3
Copy link
Member

nex3 commented Dec 11, 2013

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


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

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#768.

This issue was closed.
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
Projects
None yet
Development

No branches or pull requests

5 participants