Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Example fails to run: sdkDirectory must be provided #1232

Closed
myitcv opened this issue Jul 15, 2014 · 4 comments
Closed

Example fails to run: sdkDirectory must be provided #1232

myitcv opened this issue Jul 15, 2014 · 4 comments

Comments

@myitcv
Copy link

myitcv commented Jul 15, 2014

$ dart --version
Dart VM version: 1.6.0-dev.3.0 (Thu Jul 10 23:30:54 2014) on "linux_x64"
$ git clone git@github.com:angular/angular.dart.git
Cloning into 'angular.dart'... <snip>
$ cd angular.dart/example/
$ pub serve
You are missing some dependencies, so we need to install them first:
Resolving dependencies...
> di 1.2.3 (was 1.1.0) (2.0.0-alpha.9 available)
Changed 1 dependency!
Loading source assets...
Loading di transformers...
Loading angular transformers...
Error on line 11, column 3 of pubspec.yaml: Error loading transformer: Illegal argument(s): sdkDirectory must be provided.
- angular
  ^^^^^^^

As you can see, this is being run from outside of the Dart Editor.

Any ideas?

@myitcv
Copy link
Author

myitcv commented Jul 15, 2014

Incidentally, this works on tag v0.12.0 - broken on master

@vicb
Copy link
Contributor

vicb commented Jul 21, 2014

Can not reproduce on master (5ef596d)

@vicb vicb closed this as completed Jul 21, 2014
@myitcv
Copy link
Author

myitcv commented Jul 21, 2014

Thanks, I can confirm it's working too on 5ef596d. Apologies - should have provided a commit ref before (rather than just referring to master)

@OzzieOrca
Copy link

There are some solutions at #1270

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants