Skip to content

Instantly share code, notes, and snippets.

@whisher
Created September 19, 2013 09:35
Show Gist options
  • Save whisher/6621191 to your computer and use it in GitHub Desktop.
Save whisher/6621191 to your computer and use it in GitHub Desktop.
grunt test
Running "clean:server" (clean) task
Cleaning .tmp...OK
Running "concurrent:test" (concurrent) task
Running "copy:styles" (copy) task
Copied 2 files
Done, without errors.
Elapsed time
copy:styles 11ms
Total 11ms
Running "coffee:dist" (coffee) task
Running "coffee:test" (coffee) task
Done, without errors.
Elapsed time
coffee:test 13ms
Total 13ms
Running "autoprefixer:dist" (autoprefixer) task
File ".tmp/styles/bootstrap.css" created.
File ".tmp/styles/main.css" created.
Running "connect:test" (connect) task
Started connect web server on localhost:9000.
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.2 server started at http://localhost:8080/
INFO [launcher]: Starting browser Chrome
WARN [watcher]: Pattern "/home/whisher/public_html/todo/test/mock/**/*.js" does not match any file.
INFO [Chrome 29.0.1547 (Linux)]: Connected on socket zKiNNJee-ReOp7kGd_sL
Chrome 29.0.1547 (Linux) Controller: MainCtrl should attach a list of Todo items to the scope FAILED
Error: No module: ui
at Error (<anonymous>)
at /home/whisher/public_html/todo/app/bower_components/angular/angular.js:1211:17
at ensure (/home/whisher/public_html/todo/app/bower_components/angular/angular.js:1152:38)
at module (/home/whisher/public_html/todo/app/bower_components/angular/angular.js:1209:14)
at /home/whisher/public_html/todo/app/bower_components/angular/angular.js:2904:24
at Array.forEach (native)
at forEach (/home/whisher/public_html/todo/app/bower_components/angular/angular.js:130:11)
at loadModules (/home/whisher/public_html/todo/app/bower_components/angular/angular.js:2900:5)
at /home/whisher/public_html/todo/app/bower_components/angular/angular.js:2905:38
at Array.forEach (native)
TypeError: Cannot read property 'todos' of undefined
at null.<anonymous> (/home/whisher/public_html/todo/test/spec/controllers/main.js:20:17)
Chrome 29.0.1547 (Linux): Executed 1 of 1 (1 FAILED) ERROR (0.17 secs / 0.024 secs)
Warning: Task "karma:unit" failed. Use --force to continue.
Aborted due to warnings.
Elapsed time
concurrent:test 2s
autoprefixer:dist 131ms
karma:unit 5s
Total 7s
@adagio
Copy link

adagio commented Sep 28, 2013

I got a similar error

Controller: MainCtrl should attach a list of Todo items to the scope FAILED
Error: No module: ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment