Skip to content

Error loading transformer #114

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
zoechi opened this issue May 15, 2015 · 2 comments
Closed

Error loading transformer #114

zoechi opened this issue May 15, 2015 · 2 comments

Comments

@zoechi
Copy link

zoechi commented May 15, 2015

I created a new project directory with this pubspec.yaml

name: test_iconset_svg
dependencies:
  bwu_fontawesome_iconset_svg: '>=0.1.3 <0.2.0'

then I run pub upgrade and got

Resolving dependencies... (6.6s) 
+ analyzer 0.25.0+1
+ args 0.13.0
  ...
+ string_scanner 0.1.3+1
+ template_binding 0.14.0+2
+ test 0.12.1
+ utf 0.9.0+2
+ watcher 0.9.5
+ web_components 0.11.4+1
+ when 0.2.0
+ which 0.1.3
+ yaml 2.1.2
Changed 43 dependencies!
Precompiling dependencies... 
Loading source assets... 
Error on line 1, column 1 of https://pub.dartlang.org/api/packages/bwu_fontawesome_iconset_svg: Error loading transformer "test/pub_serve": package "test" is not a dependency.

The pubspec.yaml of the dependency is https://github.com/bwu-dart/bwu_fontawesome_iconset_svg/blob/v0.1.3/pubspec.yaml

Is this caused by http://dartbug.com/22629 ?
Do I have to move the test package to normal dependencies in bwu_fontawesome_iconset_svg?

@nex3
Copy link
Member

nex3 commented May 15, 2015

Can you re-file this against pub? It should see $include: test/**_test{.*,}.dart and know that the transformer doesn't need to be loaded when used as a dependency.

@nex3 nex3 closed this as completed May 15, 2015
@zoechi
Copy link
Author

zoechi commented May 16, 2015

http://dartbug.com/23480

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

2 participants