Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not pass the test and generate dist folder #410

Closed
edison-ymc opened this issue Jul 30, 2014 · 1 comment
Closed

can not pass the test and generate dist folder #410

edison-ymc opened this issue Jul 30, 2014 · 1 comment

Comments

@edison-ymc
Copy link

From what I understand from Gruntfile, it will auto run test and then build after I issue grunt under project root. However, it stops after test and it never goes build. I got the error message like following. I wonder what doest the warning(Warning: Task "karma:unit" failed. Use --force to continue.) mean?

Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.10 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket dGc_L2nzI5wAH4cOGYrV
PhantomJS 1.9.7 (Mac OS X): Executed 0 of 0 ERROR (0.204 secs / 0 secs)
Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.

@edison-ymc
Copy link
Author

my karam.conf.js file looks like

module.exports = function(config) {
config.set({
autoWatch: true,
basePath: '..',
frameworks: ['jasmine'],
files: [
'app/bower_components/jquery/dist/jquery.js',
'app/bower_components/angular/angular.js',
'app/bower_components/angular-mocks/angular-mocks.js',
'app/bower_components/angular-resource/angular-resource.js',
'app/bower_components/angular-cookies/angular-cookies.js',
'app/bower_components/angular-sanitize/angular-sanitize.js',
'app/bower_components/angular-route/angular-route.js',
'app/scripts/.js',
'app/scripts/__/
.js',
'test/client/spec/*/.js'
],
exclude: [],
port: 8080,
browsers: [
'PhantomJS'
],
plugins: [
'karma-phantomjs-launcher',
'karma-jasmine'
],
singleRun: false,
colors: true,
logLevel: config.LOG_INFO,
});
};

@edison-ymc edison-ymc changed the title grunt can not pass the test and generate dist folder can not pass the test and generate dist folder Jul 30, 2014
@edison-ymc edison-ymc reopened this Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant