javascript - Error starting a test with testacular -


i trying out angularjs tutorials on 64 bit windows 7 system because find framework quite interesting read on home page. newbie node.js , not experienced in java-script.

when running tests, following error. can find out problem or give hints how determine that? have fresh installation of node , added testacular with

npm install -g testacular

which worked fine printed on console window.

so here error message:

ps c:\users\xx\documents\angular\angular-phonecat> .\scripts\test.bat
info [testacular]: testacular server started @ http://localhost:9876/
info [launcher]: starting browser chrome
error [testacular]: { [error: spawn enoent] code: 'enoent', errno: 'enoent', syscall: 'spawn' }
error: spawn enoent
    at errnoexception (child_process.js:948:11)
    at process.childprocess._handle.onexit (child_process.js:739:34)

short answer: set env variable chrome_bin full path chrome.exe

the error msg confusing, behavior of spawn got changed in node 0.10, need update (https://github.com/karma-runner/karma/issues/452)


Comments