I am very new to AngularJS and trying to test a piece of functionality using Karma. I installed node.js and when I open it and enter the following it doesn't do anything.
$ npm install -g karma
Please anyone can help me how can I achieve this.
I am very new to AngularJS and trying to test a piece of functionality using Karma. I installed node.js and when I open it and enter the following it doesn't do anything.
$ npm install -g karma
Please anyone can help me how can I achieve this.
I ran into a similar issue. I believe I wrote a fairly complete blob post about how to Setup AngularJS, Angular Seed, Node.js and Karma. This post describes how to install Karma on a windows computer using the command prompt.
http://bardevblog.wordpress.com/2013/07/28/setting-up-angularjs-angular-seed-node-js-and-karma/
On Windows, you can install Karma from the Command Prompt. Do not install it from within Node.js.

Steps to install Karma 1.install nodejs from https://nodejs.org/download/ site appropriate for your system 2.open command prompt and traverse to your project path 'C:\project folder\' 3.type and run this in command prompt ->npm install karma --save-dev 4.type and run this in command prompt ->npm install -g karma-cli