newlinedotco / ng-diuno

Arduino + Angular = pure awesome (for ngConf talk -- ng-book.com)
53 stars 14 forks source link

Grunt fail #1

Open bpinaya opened 10 years ago

bpinaya commented 10 years ago
Unable to find a suitable version for angular, please choose one:
    1) angular#1.2.6 which resolved to 1.2.6 and is required by angular-mocks#1.2.6, angular-route#1.2.6, angular-scenario#1.2.6, my 
    2) angular#1.2.12 which resolved to 1.2.12 and is required by angular-animate#1.2.12, angular-sanitize#1.2.12, ionic#0.9.27 
    3) angular#>= 1.1.5 which resolved to 1.2.16 and is required by angular-ui-router#0.2.7

When bower install (which one in suitable)? Maybe that is causing:

Chrome 34.0.1847 (Linux) ERROR
    Uncaught TypeError: Cannot read property 'src' of null
    at /home/bpinaya/Documents/Github Repos/ng-diuno/app/app/scripts/scripts.js:6
Chrome 34.0.1847 (Linux): Executed 0 of 0 ERROR (0.244 secs / 0 secs)
Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.
bpinaya commented 10 years ago

And I can't get to run the server, what am I missing? Help is always appreciated! :)

bpinaya commented 10 years ago

var matches = scriptTag.src.match(/^http[s]?:\/\/([^\/?#]+)(?:[\/?#]|$)/i); That line is giving me an error in the grunt