Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them, it only takes a minute:

I am new to angular-dart. I have no prior knowledge of DART. Working on angular since last 3 months. I have downloaded the code from github. Then i opened the chapter 1 code through File->open in Dart Editor.The file structure of the project is, Chapter_01 ---> 1) pubspec.yaml 2) Web 2.1)index.html 2.2)main.dart 3) README

in index.html there is reference to

The first and last js files are missing. Where could i get them or how to generate them. I right clicked on pubspec.yaml and chose the option Pub Get,for that i got the error as

"--- Jan 31, 2014 8:13:33 PM Running pub get ... --- Pub get failed, [1] Resolving dependencies....Got socket error trying to find package angular at https://pub.dartlang.org.

** Warning: Application may fail to run since packages did not get installed.Try running pub get again. ** " Also, in the main.dart file i am getting the error for the line "import 'package:angular/angular.dart';" as "Target of URI does not exist: 'package:angular/angular.dart'"

Also i tried to ping the https://pub.dartlang.org .I got Destination net unreachable. But the same URL is accessible through my browser.

Kindly help me to resolve the issue. I am using windows 7.

Thanks in advance.

Regards, Mohan Savant

share|improve this question
1  
Are you behind a proxy? – MarioP Feb 10 '14 at 10:19
    
Yes, i am running the code in corporate network. Does that will be the issue? – user3177493 Feb 13 '14 at 11:30
    
Yes. stackoverflow.com/questions/16808883/… – MarioP Feb 13 '14 at 11:48
    
Also i am not able to see 'Install' under Tools menu.As it it advised under the 'installing' instructions. – user3177493 Feb 14 '14 at 6:47

1 Answer 1

It's absolutely necessary that pub get succeeds. It's useless to try something else before that works.

  • Sometimes there are temporary problems with pub.dartlang.org. How often have you tried? (never experienced this myself though)
  • Another known source of such problems is a proxy.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.