angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

I got error when i try to use npm test

Open toma007 opened this issue 12 years ago • 5 comments

Can you help me to solve this problem? I got error when i try to use karma (npm test) like image below

karma-error

toma007 avatar Aug 14 '14 11:08 toma007

windows...

thebigredgeek avatar Aug 15 '14 07:08 thebigredgeek

have you set the environment variable CHROME_BIN ?

marrowleaves avatar Aug 15 '14 10:08 marrowleaves

Yes. Window7 and i didn't set anything about CHROME_BIN. Can u show me how to set it?

Thank

toma007 avatar Aug 15 '14 12:08 toma007

@toma007 I also use windows 7 and have installed karma. Further, i have automated test cases using it. I have never set anything like CHROME_BIN since I edited the karma.conf.js file which is under config directory. Change: browsers = ['Chrome'];

or you can do in cmd SET CHROME_BIN = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

pulakb avatar Aug 15 '14 16:08 pulakb

Please read the contributing guidelines; these types of questions are ill-suited for GitHub. Thanks!

btford avatar Aug 18 '14 20:08 btford