Skip to content
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

Appears to be a problem with the pubspec.yaml in the component #6

Closed
rayk opened this issue Jan 18, 2015 · 7 comments
Closed

Appears to be a problem with the pubspec.yaml in the component #6

rayk opened this issue Jan 18, 2015 · 7 comments

Comments

@rayk
Copy link

rayk commented Jan 18, 2015

Loading di transformers...
Error on line 23, column 3 of ../../.pub-cache/hosted/pub.dartlang.org/bwu_polymer_routing-0.1.1+1/pubspec.yaml: Error loading transformer: Invalid arguments(s): sdkDirectory must be provided.

  • di
    ^^^

appears be to related to issue number #4

@zoechi
Copy link
Contributor

zoechi commented Jan 21, 2015

#4 should be fixed since a while (forgot to close).
This is related to dart-archive/angular.dart#1270
This should also be fixed with 0.2.3+2 of the code_transformer package.
What version of that package do you use?

@GeReinhart
Copy link

I've the same issue :

--- 10:44:05 PM Running pub upgrade on /media/gex/Data1/Dev/app-connecting-dartisans ... ---
Resolving dependencies...
(...)
bwu_polymer_routing 0.1.1+1 from git git://github.com/bwu-dart/bwu_polymer_routing.git
code_transformers 0.2.3+2
polymer 0.15.5
route_hierarchical 0.6.1
di 3.3.3
(...)
No dependencies changed.
Precompiling dependencies...
Loading source assets...
Loading di/module_transformer, initialize/build/loader_replacer, polymer/src/build/mirrors_remover, code_transformers/src/delete_file, observe, smoke/src/default_transformer and initialize transformers...
Loading polymer and di transformers...
Error on line 23, column 3 of /home/gex/.pub-cache/git/bwu_polymer_routing-e6594eeb0c9e136d735165b3e49bc590982606b1/pubspec.yaml: Error loading transformer: Invalid arguments(s): sdkDirectory must be provided.

  • di
    ^^^

@zoechi
Copy link
Contributor

zoechi commented Jan 29, 2015

bwu_polymer_routing doesn't have a direct dependency on code_transformers.
The di dependency specifies code_transformers: '>=0.2.3 <0.3.0' though, which allows a version < 0.2.3+2.
Until this is updated it should be sufficient to add a code_transformers dependency in your own pubspec.yaml like code_transformers: '>=0.2.3+2 <0.3.0. to solve your issue.

@GeReinhart
Copy link

It's what I've done, see the dependencies retrieved in the previous comment. But I still have the issue...

@zoechi
Copy link
Contributor

zoechi commented Jan 29, 2015

Can you please post your pubspec.yaml?

@GeReinhart
Copy link

My CI is now green : https://drone.io/github.com/GeReinhart/app-connecting-dartisans/32 with https://github.com/GeReinhart/app-connecting-dartisans/blob/210574e3c33e1cba94b1981a35c09d83a2441909/pubspec.yaml

On my machine, on Ubuntu, the intallation of dartsdk is done through https://launchpad.net/~hachre/+archive/ubuntu/dart. The sdk is deployed under /opt/google/dartsdk. And I think that it's the root of the problem (for me).

From my point of view, you can close the issue. Thanks

@zoechi
Copy link
Contributor

zoechi commented Jan 29, 2015

Great, thanks for the feedback!

@zoechi zoechi closed this as completed Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants