Skip to content

'pub get' with proxy gives an error for Angular2 package #1406

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
iraj-jelo opened this issue Apr 15, 2016 · 2 comments
Closed

'pub get' with proxy gives an error for Angular2 package #1406

iraj-jelo opened this issue Apr 15, 2016 · 2 comments

Comments

@iraj-jelo
Copy link

iraj-jelo commented Apr 15, 2016

I have a pubspec.yaml with below content:

# #docregion
name: angular2_tour_of_heroes
version: 0.0.1
environment:
  sdk: '>=1.13.0 <2.0.0'
dependencies:
  angular2: 2.0.0-beta.15
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
transformers:
- angular2:
    platform_directives:
    - package:angular2/common.dart#COMMON_DIRECTIVES
    platform_pipes:
     - package:angular2/common.dart#COMMON_PIPES
    entry_points: web/main.dart

When I run pub get (I use proxy) in command line, get below error:

Resolving dependencies... 
Got dependencies!
Precompiling dependencies... 
Loading source assets... 
Loading angular2/transform/codegen, dart_to_js_script_rewriter, observe and smokLoading angular2/transform/codegen, dart_to_js_script_rewriter, observe and smokLoading angular2/transform/codegen, dart_to_js_script_rewriter, observe and smoke/src/default_transformer transformers... 
Transformer library "package:angular2/transform/codegen.dart" not found.

How do I fix it?

@iraj-jelo iraj-jelo changed the title 'pub get' gives an error for Angular2 package 'pub get' with proxy gives an error for Angular2 package Apr 15, 2016
@zoechi
Copy link

zoechi commented Apr 15, 2016

@nex3
Copy link
Member

nex3 commented Apr 15, 2016

Duplicate of #1397.

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