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't start on Windows 8.1 #18

Open
pepopowitz opened this issue Dec 16, 2014 · 0 comments
Open

Can't start on Windows 8.1 #18

pepopowitz opened this issue Dec 16, 2014 · 0 comments

Comments

@pepopowitz
Copy link

Apologies if you would have preferred this under the similar Windows 7 issue, but I didn't want to hijack it.

I am unable to start karma within Brackets, on Windows 8.1.

The only thing I have installed globally is karma-cli. Locally, I've installed karma, karma-brackets, karma-jasmine, and karma-chrome-launcher.

My karma.conf.js contains the 'brackets' reporter.

When I run karma start from a command window, karma starts up correctly with no errors or warnings, and executes my tests successfully.

image

When I try to start karma from within Brackets, I get this error in the Karma results window, with no further explanation -

Sorry :( There's been a problem (code: START_KARMA)

Within the Brackets settings, I have the karma executable path pointed at my local karma module (node_modules/karma). I am pretty sure it's the right path, because if I change it to node_modules/karmaXXX, it complains that it can't find a karmaXXX module in the local node_modules folder.

Here is my karma.conf.js -

module.exports = function(config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine'],
    files : [
      'app/lib/angular/angular.js',
      'app/lib/angular/angular-*.js',
      'test/lib/angular-mocks.js',
      'test/lib/sinon-1.10.2.js',
      'app/js/**/*.js',
      'test/unit/**/*.js'
    ],
    reporters: ['progress', 'brackets'],
    port: 9876,
    colors: true,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false
  });
};

Any thoughts on what I might be missing? I am a total newb at this, so it wouldn't surprise me in the least if I am doing something wrong.

Thank you!

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