Category "windows-subsystem-for-linux"

PhpStorm cannot find vendor/autoload.php on Docker WSL when running PHPUnit

My current setup is: PhpStorm, Docker WSL, Ubuntu (WSL). All my project files are local and inside WSL Ubuntu. Docker Container and CLI Interpreters are set up

Configure CAPACITOR_ANDROID_STUDIO_PATH environment variable on windows machine using WSL Ubuntu

I have a ionic angular application. When I run 'ionic capacitor build android' from WSL I get the following errors: [INFO] Ready for use in your Native IDE!

can't start mongodb server in ubuntu windows

i just install mongodb on ubuntu windows using sudo apt-get -y install mongodb. after installation was finsished, i want to start using sudo systemctl start mon

Read Files across File Systems (PyCharm Windows/WSL)

I'm using PyCharm with a WSL interpreter because I need to use a library that doesn't work well with Windows (gtsam, if you're wondering). I have a pandas Dataf

How to fix Docker error System.InvalidOperationException on start on Windows 10?

I installed Docker desktop for windows 10 home (version 10.0.19042) but I was never able to make it work because I keep getting this error: Microsoft.NET frame

Clion and cmd ssh WSL are refused on windows 10

I've configured WSL for my computer, and it work in WSL terminal successfully. zoom@Zoom:/etc/ssh$ ssh zoom@localhost -p 2222 zoom@localhost's password: Welcom

Visual Studio Code C/C++ Extension cannot find compiler path

Problem: The program works but the intellisense doesnt recognize the compiler. Specifications: I use wsl. Installed from powershell What i've tried: I reinstall

Running Docker in WSL2, facing git login problem

I'm trying to run docker in WSL2. I installed Ubuntu and it starts fine, I configured my git access with ssh key stored in .ssh and tested the access with ssh m

OpenCL/GPU/CUDA support under WSL2

I read that this almost impossible right now to use the GPU under WSL2 (Ubuntu-20.04 distro), but NVidia has some tutorials using docker (my GPU is nVidia 960m)

npm ERR! Error: EACCES: permission denied

I'm having this famous issue while trying to install Typescript in my react app. Concretely, I am running this: npm install --save typescript @types/node @types

llvm/Support/TargetRegistry.h: No such file or directory

I have this error when I make project in WSL(Ubuntu 20.04). And I have installed LLVM and Clang.Hou should I do? Kconfig Makefile README.md build configs i

Failed to set version to docker-desktop: exit code: -1 || WslCommand.cs:line 146

I have installed docker, then WSL2 package updated in win10. But I'm getting below error while running docker-desktop:- System.InvalidOperationException: Faile

WSL2 network unreachable [closed]

A couple of weeks ago, WSL suddenly could not reach any IP addresses nor resolve any domains. Even internal network IPs are not reachable. &g

@echo in Makefile always causes error " *** missing separator. Stop."

I put @echo "============= $(TOOLPREFIX) =================" in line 34 of Makefile of xv6 used by many OS courses, in hope of printing out the value of variabl

WSL and serial port

I am using Win10 and Linux Ubuntu on WSL 2.0. For testing purposes of some programs, I would like to use the serial port of my PC in "loopback" with Linux runni

Could not connect to TCP port: Connection refused when trying to open Expo app on Android Emulator in WSL2

I've been following this guide https://medium.com/@pellea/using-adb-with-wsl2-7aebbb070a47 and so far have gotten to the point where WSL2 can see the emulator(s

How to launch a new WSL bash window from an existing WSL bash window

I am struggling to figure out how to launch a new "command prompt" window via a bash command in WSL. The goal is to launch a second prompt preferably already in

Azure CLI in WSL2 uses Windows home directory

Running this in WSL2 (current folder /home/my-linux-user/): az aks get-credentials --resource-group my-resource-group --name cluster-name Outputs: Merged "clust

How to expose Docker TCP socket on WSL2? (WSL-installed Docker, not Docker Desktop)

I want to connect to Docker TCP socket running in WSL2 via PyCharm. I can't seem to expose the socket, I think possibly because there's limited control of docke

why "systemctl" not working in Ubuntu terminal on Windows?

I need to reload the daemon using systemctl command in ubuntu terminal on window 10. I attached the error I received. The error: bashdos@yana:~$ systemctl Syste