Karma - config file does not exist

Hi I'm trying to go through the AngularJS original tutorial and in step 2 where I'm supposed to run ./scripts/test.sh, I get an error saying

[ERROR] config - Config file does not exist!

I've checked /config/karma.conf.js and the file indeed does exist.

I'm running the latest version of node, npm, and karma.

I thought re-installing them would fix the issue (as mentioned by a member of the AngularJS team on a Google forum post I found).

I still get the error however. Anyone have any suggestions?

Edit: I tried running /config/karma.conf.js and it gave an error saying "JASMINE is undefined," even though Jasmine is installed. Do I have to set a path or something? I have jasmine installed globally.

You might need to install Karma

steps:

  1. npm install generator-karma
  2. yo karma

If you are on windows try to run ./scripts/test.bat.

On Mac OS Mavericks.

1 - Install Karma

npm install -g generator-karma

2 - run yo karma

yo karma

If node.js and yo is working this will be enough.