-
Notifications
You must be signed in to change notification settings - Fork 53
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 run Linux Firefox on WSL #107
Comments
What is a WSL? |
Windows Subsystem for Linux. the referenced PR added a check for that platform and overrides the behaviour of the launcher to use the windows version of Firefox without even checking if a Linux version is available. |
Yeah, sorry about that. I didn't think anyone was actually trying to running Linux Firefox from WSL. It seems the majority of people are trying to run Windows Firefox but we should allow both. |
No worries! I forked the repo to try to submit a PR, but I'm not familiar enough with how karma launchers work in order to make it a configurable option, or at least with how the check is currently implemented, as it seems like it happens at a global level (like the ternary in the launch commands) The naive way to implement it would be to simply check for the existence of firefox inside WSL before deferring to the windows version. |
Just wanted to follow up on this, I've got a potential fix that will work to bypass
I've been down this path mainly because running the windows Firefox, at least in the way my system is configured, where I'm also using Firefox as my primary browser, communication between Karma on WSL and Firefox on windows is janky at best, with sessions disconnecting, and Firefox spamming me with "XUL Runner Error" dialogs. I may need to spend some time investigating further to see why it fails like it does. |
# [2.0.0](v1.3.0...v2.0.0) (2020-10-20) ### Bug Fixes * Bypass WSL check if Firefox is present in WSL environment ([23a5d10](23a5d10)), closes [#107](#107) * Update is-wsl to v2.2.0 to detect docker under WSL ([#116](#116)) ([c585393](c585393)) ### Features * Make Node 10 minimum required version ([480dafd](480dafd)), closes [#118](#118) ### BREAKING CHANGES * Changed minimum required version of node.js from 8 to 10. Node 8 EOL was 2019-12-31.
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
There's no way to override the changes made in #96, I can set
FIREFOX_BIN
to use the linux firefox, but because of the wsl detection it tries to convert the profile path and causes the linux wires to get crossed.The text was updated successfully, but these errors were encountered: