Can't start the karma server in angular

user2809321

Hi I'm trying to get the test script running on the angular tutorial (step 2, writing and running test part 1) but I'm stuck at trying to run the karma server but when I run the command in the GitBash terminal I get this error

John@JOHN-PC ~/angular-phonecat ((step-2))
$ ./scripts/test.sh

Starting Karma Server (http://karma-runner.github.io)
-------------------------------------------------------------------
INFO [karma]: Karma v0.10.2 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
ERROR [launcher]: Cannot start Chrome
    Can not find the binary C:\Users\John\AppData\Local\Google\Chrome\Applic
ation\chrome.exe
    Please set env variable CHROME_BIN

any idea what this means

here's the link to the tutorial http://docs.angularjs.org/tutorial/step_02

Vijay Pande

As Cristian Ternus had already pointed out you will have to set the correct value of the CHROME_BIN env variable. Dont copy the path as it is provided in the comment. You will have to find out where crome.exe is present on your machine. Please refer http://bardevblog.wordpress.com/2013/07/28/setting-up-angularjs-angular-seed-node-js-and-karma/ which is a nice tutorial about running angular test cases. Step 8 in the tutorial is addressing your issue.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why can't I start my gunicorn server? "Connection in use"

From Dev

Can't start Rails server with aws-sdk gem

From Dev

Can't start Rails Server - Could not find a JavaScript runtime

From Dev

Wamp server can't start (orange icon)

From Dev

Can't start jboss server; NoClassDefFoundError: com/tibco/tibrv/TibrvException

From Dev

JBoss AS 7 and MySQL - Can't start server

From Dev

Gulp run karma tests - can't find variable: angular

From Dev

Meteor:Can't start idle monitor until synced to server

From Dev

Can I use karma to launch a test server?

From Dev

flask - Server can't start

From Dev

Karma can't load webpack

From Dev

WebStorm: Karma server not starting, TypeError: undefined is not a function on server.start();

From Dev

RSelenium, Can't start server

From Dev

Can't start MySQL server for the first time

From Dev

TightVNC server on ubuntu can't start with `vncconfig: not found`

From Dev

isc-dhcp-server can't start

From Dev

Can't start GlassFish server - The module has not been deployed

From Dev

I can't get rails server to start

From Dev

Can't start jboss server; NoClassDefFoundError: com/tibco/tibrv/TibrvException

From Dev

Gulp run karma tests - can't find variable: angular

From Dev

Ruby error, can't start the rails server

From Dev

Can I use karma to launch a test server?

From Dev

Foreverjs can't start server

From Dev

Can't start MySQL server (database corruption)

From Dev

Can't start Minecraft server in tmux with systemctl

From Dev

aerospike server can't start with unrecognized service information

From Dev

Can't start symfony server

From Dev

Test module can't resolve module being tested [Angular4, Karma, Jasmine]

From Dev

SAP Can't start application server

Related Related

  1. 1

    Why can't I start my gunicorn server? "Connection in use"

  2. 2

    Can't start Rails server with aws-sdk gem

  3. 3

    Can't start Rails Server - Could not find a JavaScript runtime

  4. 4

    Wamp server can't start (orange icon)

  5. 5

    Can't start jboss server; NoClassDefFoundError: com/tibco/tibrv/TibrvException

  6. 6

    JBoss AS 7 and MySQL - Can't start server

  7. 7

    Gulp run karma tests - can't find variable: angular

  8. 8

    Meteor:Can't start idle monitor until synced to server

  9. 9

    Can I use karma to launch a test server?

  10. 10

    flask - Server can't start

  11. 11

    Karma can't load webpack

  12. 12

    WebStorm: Karma server not starting, TypeError: undefined is not a function on server.start();

  13. 13

    RSelenium, Can't start server

  14. 14

    Can't start MySQL server for the first time

  15. 15

    TightVNC server on ubuntu can't start with `vncconfig: not found`

  16. 16

    isc-dhcp-server can't start

  17. 17

    Can't start GlassFish server - The module has not been deployed

  18. 18

    I can't get rails server to start

  19. 19

    Can't start jboss server; NoClassDefFoundError: com/tibco/tibrv/TibrvException

  20. 20

    Gulp run karma tests - can't find variable: angular

  21. 21

    Ruby error, can't start the rails server

  22. 22

    Can I use karma to launch a test server?

  23. 23

    Foreverjs can't start server

  24. 24

    Can't start MySQL server (database corruption)

  25. 25

    Can't start Minecraft server in tmux with systemctl

  26. 26

    aerospike server can't start with unrecognized service information

  27. 27

    Can't start symfony server

  28. 28

    Test module can't resolve module being tested [Angular4, Karma, Jasmine]

  29. 29

    SAP Can't start application server

HotTag

Archive