3
votes

I am currently looking into dart (and angular.dart), reading some tutorials and so on.

I am having problems with getting angular.dart 1.0 working. According to this package description: https://pub.dartlang.org/packages/angular#installing

one only has to add angular.dart as a PUB dependency and then can start working with it:

import 'package:angular/angular.dart';

I have done just that, ran pub get but the imported file is still not found. My packages directory is somewhat poor, there is no angular.dart in there.

So how do I use angular.dart 1.0?

Angular dart error

1

1 Answers

3
votes

Your downloaded angular seems broken. You should try to repair your cache with pub cache repair (See pub cache)