karma init is not working in latest master #443

dignifiedquire opened this Issue Mar 29, 2013 · 3 comments


None yet

2 participants

Karma member

Because the launchers have been extracted out, the init script doesn't find them anymore and fails when trying to validate the input. Here is the error message:

Do you want to capture a browser automatically ?
Press tab to list possible options. Enter empty string to move to the next question.
> Chrome

  var proto = launcher[value + 'Browser'].prototype;
TypeError: Cannot read property 'prototype' of undefined
    at Object.validateBrowser [as validate] (/Users/dignifiedquire/opensource/karma/myfork/lib/init.js:54:42)
    at StateMachine.onLine (/Users/dignifiedquire/opensource/karma/myfork/lib/init.js:165:25)
    at Interface.EventEmitter.emit (events.js:96:17)
    at Interface._onLine (readline.js:200:10)
    at Interface._line (readline.js:518:8)
    at Interface._ttyWrite (readline.js:736:14)
    at ReadStream.onkeypress (readline.js:97:10)
    at ReadStream.EventEmitter.emit (events.js:126:20)
    at emitKey (readline.js:1058:12)
    at ReadStream.onData (readline.js:807:7)

I'm aware of this... The whole karma init needs to be fixed to work with master, it's my last thing before pushing canary...

Karma member

Good. Just wanted to document it somewhere.


This is already fixed.

@vojtajina vojtajina closed this May 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment