Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start Firefox Nightly #80

Open
konorlevich opened this issue Dec 16, 2017 · 4 comments
Open

Can't start Firefox Nightly #80

konorlevich opened this issue Dec 16, 2017 · 4 comments

Comments

@konorlevich
Copy link

konorlevich commented Dec 16, 2017

OS: Ubuntu 17.10
Node: 8.9.3
npm: 5.6
@angular/cli: 1.6.1
Karma: 1.7.1
"karma-firefox-launcher": "~1.1.0"

firefox-trunk: Mozilla Firefox 59.0a1
was installed by following commands
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-trunk

>ng test

10% building modules 1/1 modules 0 active
16 12 2017 17:27:28.126:WARN [karma]: No captured browser, open http://localhost:9876/
16 12 2017 17:27:28.132:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
16 12 2017 17:27:28.132:INFO [launcher]: Launching browser FirefoxNightly with unlimited concurrency
16 12 2017 17:27:28.137:INFO [launcher]: Starting browser FirefoxNightly
16 12 2017 17:27:31.051:WARN [karma]: No captured browser, open http://localhost:9876/

@gluons
Copy link

gluons commented Jan 18, 2018

Same on Windows.

On Windows, it uses this:

win32: getFirefoxExe('Nightly')

And

var suffix = '\\' + firefoxDirName + '\\firefox.exe'
for (var i = 0; i < prefixes.length; i++) {
prefix = prefixes[i]
if (fs.existsSync(prefix + suffix)) {
return prefix + suffix
}
}
return 'C:\\Program Files' + suffix

So the final path is C:\\Program Files\\Nightly\\firefox.exe.
But I just install fresh Nightly on Windows 10. My Nightly located at C:\Program Files\Firefox Nightly\firefox.exe.

@sasaxing
Copy link

sasaxing commented Apr 3, 2019

firefoxDirName seems not correct. On OSX FirefoxNightly is installed in a directory whose name has a space in between: Firefox Nightly.app.
Not sure about windows, but it looks like the same issue.

@birtles
Copy link
Collaborator

birtles commented Jul 11, 2019

I have a fix for this as part of birtles@da4e43b but I'm currently trying to resolve #93 before putting any of that up for review.

@birtles
Copy link
Collaborator

birtles commented Jul 17, 2019

This should now be fixed for Windows and Mac by 6377ee3 but I need to setup a Linux environment to check if firefox-trunk is still the binary name in more recent versions of Nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants