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

flask - Server can't start

From Dev

RSelenium, Can't start server

From Dev

Foreverjs can't start server

From Dev

Can't start symfony server

From Dev

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

From Dev

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

From Dev

JBoss AS 7 and MySQL - Can't start server

From Dev

Wamp server can't start (orange icon)

From Dev

Can't start MySQL server for the first time

From Dev

isc-dhcp-server can't start

From Dev

I can't get rails server to start

From Dev

Ruby error, can't start the rails server

From Dev

Can't start MySQL server (database corruption)

From Dev

Can't start Minecraft server in tmux with systemctl

From Dev

SAP Can't start application server

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

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

From Dev

Can I use karma to launch a test server?

From Dev

Can I use karma to launch a test server?

From Dev

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

From Dev

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

From Dev

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

From Dev

Can't start Rails server with aws-sdk gem

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

aerospike server can't start with unrecognized service information

Related Related

  1. 1

    flask - Server can't start

  2. 2

    RSelenium, Can't start server

  3. 3

    Foreverjs can't start server

  4. 4

    Can't start symfony server

  5. 5

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

  6. 6

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

  7. 7

    JBoss AS 7 and MySQL - Can't start server

  8. 8

    Wamp server can't start (orange icon)

  9. 9

    Can't start MySQL server for the first time

  10. 10

    isc-dhcp-server can't start

  11. 11

    I can't get rails server to start

  12. 12

    Ruby error, can't start the rails server

  13. 13

    Can't start MySQL server (database corruption)

  14. 14

    Can't start Minecraft server in tmux with systemctl

  15. 15

    SAP Can't start application server

  16. 16

    Karma can't load webpack

  17. 17

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

  18. 18

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

  19. 19

    Can I use karma to launch a test server?

  20. 20

    Can I use karma to launch a test server?

  21. 21

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

  22. 22

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

  23. 23

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

  24. 24

    Can't start Rails server with aws-sdk gem

  25. 25

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

  26. 26

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

  27. 27

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

  28. 28

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

  29. 29

    aerospike server can't start with unrecognized service information

HotTag

Archive