-
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
Running into wslpath error #106
Comments
Hmm, that's curious. I wonder if there is something about the path that needs to be escaped in that case. |
Oh, never mind, I think you are hitting the issue fixed in #105. I was waiting for a few more bug fixes before doing a new release but maybe we should just release it. Can you try updating to the trunk version and seeing if the error is fixed? |
Updated to the trunk version, and still running into the same error. Not sure if this will be more helpful but here is the full stack dump
|
That's odd. If I run Can you try just running that command by itself to see what you get? And might I ask what kind of WSL distro you are using? |
I'm running Ubunutu 18.04.1 LTS. When I run Strangely enough, when I try |
Oh, interesting. I suppose there is some setting somewhere that affects this. I don't suppose you recall tweaking anything to that effect? |
Nope I don't believe I've modified any setting related to this. I suspect that this may be just isolated to my environment as you were unable to recreate the same behavior. I'll try to reinstall my WSL distro when I get a chance to see if that fixes anything. |
Thanks! Please let me know if you have any luck or not after re-installing. |
I have a similar issue:
I'm using WSL2 + the official Ubuntu 18.04 image & the docker WSL2 preview, and FWIW I'm trying to run firefox installed in a docker container, not call out to the system firefox I can create a separate issue if you don't think it's relevant here. |
Oh, interesting. Does WSL2 not ship with |
@birtles yes it does - the karma runner just seems to somehow detect as being in WSL when it's really running in docker on top of a linux kernel. Would it be worth adding an additional configuration option here? I kind of understand the original use-case behind WSL detection but in this case I'd like to override it, as I'm installing firefox into the container. |
So, is that to say you're running the Linux version of Firefox? If so, it sounds like issue #107. |
There's a temporary hack by manually altering the code in |
In addition, as mentioned in karma-runner/karma-firefox-launcher#106 on WSL there's a hack in the karma firefox launcher index.js file necessary to accomodate a wslpath error.
Even I don't use Firefox as browser:
|
It is still a problem. Tryed to build an application which uses karma with trion/ng-cli-karma as build container where headless firefox is installed, but it still tries to access the wsl option. |
That might be fixed by #116 (or #114?). In any case, we should release a new version with those fixes so I filed #121 for that. |
I am running into the following wslpath error in the getAllPrefixesWsl function here when using the module. It looks like wslpath is operating in a manner different to what the code expects. I'm using version 1.2.0.
The text was updated successfully, but these errors were encountered: