Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

can not pass the test and generate dist folder #410

Closed

Description

@edison-ymc

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.

Activity

  1. edison-ymc commented on Jul 30, 2014

    @edison-ymc
    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,
    });
    };

  2. changed the title [-]grunt can not pass the test and generate dist folder[/-] [+]can not pass the test and generate dist folder[/+] on Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions