狀況一: grunt test Warning: Task "karma" not found. Use --force to continue. 解決方法: npm install grunt-karma --save-dev 狀況二: Running "karma:unit" (karma) task WARN [plugin]: Cannot find plugin "karma-phantomjs-launcher". Did you forget to install it ? npm install karma-phantomjs-launcher --save-dev INFO [karma]: Karma v0.12.24 server started at http://localhost:8080/ WARN [launcher]: Can not load "PhantomJS", it is not registered! Perhaps you are missing some plugin? 解決方法: npm install karma-jasmine --save-dev npm install karma-phantomjs-launcher --save-dev 狀況三: Running "wiredep:app" (wiredep) task Warning: ENOENT, no such file or directory '/Users/jinwei/git/test1/app/bower.json' Use --force to continue. 解決方法: Nice after quite some searching on google joshs solution fixed my problem. I just removed <%= yeoman.app %> wiredep: { options: { */code was here */ }}