Karma not starting Firefox and safari on windows 7

1,264 views
Skip to first unread message

amolp1709

unread,
Sep 17, 2013, 3:12:43 AM9/17/13
to karma...@googlegroups.com


I have done the setting environment set variables respectively  for Chrome ,IE, Firefox,Safari still getting following : 


ERROR [launcher]: Cannot start Firefox
        Can not find the binary C:\Program Files (x86)\Mozilla Firefox\firefox.e
xe;
        Please set env variable FIREFOX_BIN
ERROR [launcher]: Cannot start Safari
        Can not find the binary C:\Program Files (x86)\Safari\Safari.exe;
        Please set env variable SAFARI_BIN


Also installed respective karma launcher plugins for  Chrome ,IE, Firefox,Safari .

I am using following 

Karma version: 0.10.2
grunt-cli v0.1.
grunt v0.4.1
bower 1.2.2
yo 1.0.0-rc.1.4


Thanks

Michael Bielski

unread,
Sep 17, 2013, 10:22:07 AM9/17/13
to karma...@googlegroups.com
AFAIK there is no more Safari for Windows. It got removed last year by Apple and their updater service will automatically remove it for you. (So nice of them to decide what software I do and don't get to have on my computer.)

The Firefox thing is just a path issue. You need to have an environment variable set for the environment that you are using, not the global Windows one. I do my work in Webstorm and had to set the environment variable there. You should look at your Yeoman install and see where you can set that variable. Sorry, but I'm not familiar with Yeoman or its parts at this time (though that will be changing soon) so I can't tell you exactly where that is.
Message has been deleted

amolp1709

unread,
Sep 18, 2013, 4:48:04 AM9/18/13
to karma...@googlegroups.com


On Wednesday, 18 September 2013 14:17:27 UTC+5:30, amolp1709 wrote:
Didn't understand for firefox . It will be great if u share how to set FIREFOX_BIN for environment I am using.

Thanks

m48u

unread,
Sep 20, 2013, 5:47:03 AM9/20/13
to karma...@googlegroups.com
It seems that your PATH variables FIREFOX_BIN / SAFARI_BIN is either not or wrong set.
open a terminal and check the settings with command "set" (will print all system / PATH variables)

Amol Panchal

unread,
Sep 20, 2013, 6:33:41 AM9/20/13
to karma...@googlegroups.com
yes it's displaying correct paths

ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=D:\software\apache-ant-1.9.1-bin\apache-ant-1.9.1
APPDATA=C:\Users\amol.panchal\AppData\Roaming
BENERATOR_HOME=D:\software\databene-benerator-0.7.6
CHROME_BIN=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=MUM-18631
ComSpec=C:\Windows\system32\cmd.exe
FIREFOX_BIN=C:\Program Files (x86)\Mozilla Firefox\firefox.exe;
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\amol.panchal
IE_BIN=C:\Program Files (x86)\Internet Explorer\iexplore.exe
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31
LOCALAPPDATA=C:\Users\amol.panchal\AppData\Local
LOGONSERVER=\\MUM-DCCORP01
M2=D:\software\apache-maven-3.1.0\bin
M2_HOME=D:\software\apache-maven-3.1.0
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Users\amol.panchal\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\Windo
ws\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\TortoiseSVN\bin
;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShe
ll\v1.0\;C:\Program Files (x86)\Git\bin;C:\Program Files\nodejs\;D:\software\apa
che-maven-3.1.0\bin;$JAVA_HOME/bin;C:\Program Files\Microsoft SQL Server\110\Too
ls\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementSt
udio\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Fil
es (x86)\Microsoft SQL Server\110\DTS\Binn\;D:\software\apache-ant-1.9.1-bin\apa
che-ant-1.9.1\bin;C:\Program Files\Java\jdk1.6.0_31\bin;D:\software\android-sdk-
windows_old\android-sdk-windows\platforms;D:\software\android-sdk-windows_old\an
droid-sdk-windows\platform-tools;C:\Users\amol.panchal\AppData\Roaming\npm
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program File
s (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\
PUBLIC=C:\Users\Public
SAFARI_BIN=C:\Program Files (x86)\Safari\Safari.exe;
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\AMOL~1.PAN\AppData\Local\Temp
TMP=C:\Users\AMOL~1.PAN\AppData\Local\Temp
UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERDNSDOMAIN=CORPNET.LIOX.ORG
USERDOMAIN=CORPNET
USERNAME=Amol.Panchal
USERPROFILE=C:\Users\amol.panchal
windir=C:\Windows


--
You received this message because you are subscribed to a topic in the Google Groups "karma-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/karma-users/nodn4Ic83yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to karma-users...@googlegroups.com.
To post to this group, send email to karma...@googlegroups.com.
Visit this group at http://groups.google.com/group/karma-users.
For more options, visit https://groups.google.com/groups/opt_out.

Horst Gutmann

unread,
Sep 20, 2013, 6:39:43 AM9/20/13
to karma...@googlegroups.com
In your example there is a semicolon at the end of the path, which looks
out of place to me.

- Horstz

> Amol Panchal <mailto:amol...@gmail.com>
> September 20, 2013 12:33 PM
> USERDNSDOMAIN=CORPNET.LIOX.ORG <http://CORPNET.LIOX.ORG>
> USERDOMAIN=CORPNET
> USERNAME=Amol.Panchal
> USERPROFILE=C:\Users\amol.panchal
> windir=C:\Windows
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "karma-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to karma-users...@googlegroups.com.
> To post to this group, send email to karma...@googlegroups.com.
> Visit this group at http://groups.google.com/group/karma-users.
> For more options, visit https://groups.google.com/groups/opt_out.
> m48u <mailto:maximilia...@gmail.com>
> September 20, 2013 11:47 AM
> It seems that your PATH variables FIREFOX_BIN / SAFARI_BIN is either
> not or wrong set.
> open a terminal and check the settings with command "set" (will print
> all system / PATH variables)
>
> Am Dienstag, 17. September 2013 09:12:43 UTC+2 schrieb amolp1709:
> --
> You received this message because you are subscribed to the Google
> Groups "karma-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to karma-users...@googlegroups.com.
> To post to this group, send email to karma...@googlegroups.com.
> Visit this group at http://groups.google.com/group/karma-users.
> For more options, visit https://groups.google.com/groups/opt_out.
> amolp1709 <mailto:amol...@gmail.com>
> September 17, 2013 9:12 AM
>
>
> I have done the setting environment set variables respectively for
> Chrome ,IE, Firefox,Safari still getting following :
>
>
> ERROR [launcher]: Cannot start Firefox
> Can not find the binary C:\Program Files (x86)\Mozilla
> Firefox\firefox.e
> xe;
> Please set env variable FIREFOX_BIN
> ERROR [launcher]: Cannot start Safari
> Can not find the binary C:\Program Files (x86)\Safari\Safari.exe;
> Please set env variable SAFARI_BIN
>
>
> Also installed respective karma launcher plugins for Chrome ,IE,
> Firefox,Safari .
>
> I am using following
>
> Karma version: 0.10.2
> grunt-cli v0.1.
> grunt v0.4.1
> bower 1.2.2
> yo 1.0.0-rc.1.4
>
>
> Thanks
> --
> You received this message because you are subscribed to the Google
> Groups "karma-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
Reply all
Reply to author
Forward
0 new messages