Questions tagged [windows-subsystem-for-linux]
The Windows Subsystem for Linux (WSL) lets users run a GNU/Linux environment on top of the Windows operating system. It includes support for Linux-based command-line tools ELF-64 binaries, and more.
windows-subsystem-for-linux
5,954
questions
0
votes
0
answers
32
views
Windows Subsystem For Linux forgets everything
I am stuck on a Windows machine for work, but I work with Ruby on Rails, so everything I do has to be done through the Windows Subsystem for Linux. I did finally get it set up and working, but then I ...
0
votes
0
answers
52
views
building a text editor with C++ and the cursor doesn't want to move
I'm a beginner so please don't go too harsh on me, I've been following a tutorial that a friend of mine gave for building a text editor with C++ on WSL, I've already built the functionalities for the ...
4
votes
2
answers
1k
views
How to resolve Error migrating WSL disk on Docker desktop windows 11 WSL 2 backend? [closed]
I am trying to change Disk image location in Docker Desktop v4.31.1 on my windows machine following this path:
"Docker Desktop > Settings > Resources > Advanced > Disk image location&...
1
vote
0
answers
65
views
Playwright Python: NS_ERROR_UNKNOWN when launching Firefox with firefox_user_prefs and security.enterprise_roots.enabled
I'm trying to use playwright in Python to scrape a portal in my company internal network, and I'm getting a useless error message (NS_ERROR_UNKNOWN) when I try to set some preferences in Firefox (...
0
votes
0
answers
64
views
VESA 24bpp using QEMU from WSL (blue channel not working)
I am currently struggling with VESA graphics.
I am switching to VESA using this assembly code below
Note: At this point I am still in 16 bit real-mode
Note 2: video_info is a label in the 32 bit area ...
0
votes
0
answers
20
views
AttributeError when running unittest with coverage in Python 2.7 on WSL
I'm encountering an error while attempting to run unit tests with unittest and coverage in Python 2.7 on a Windows 11 system using WSL (Windows Subsystem for Linux). The error message suggests an ...
0
votes
0
answers
48
views
Cannot find module "jsx-dev-runtime" when running Vitest (Next.js)
I am trying to add Vitest to my Next.js-project and have followed their guide. However when I run npm run test, I get the following error message:
Error: Cannot find module '/path/to/repo/node_modules/...
0
votes
0
answers
19
views
Enable extension only WSL?
I'm running Win11 with WSL. I'm wondering if there is a way to have an extension only enabled when connecting to WSL?
For a bit more context, I'm testing Mojo which only has installs for Linux and ...
0
votes
0
answers
34
views
Having trouble with NFS on Windows with WSL
I have a product based on the Beaglebone Black board with the older TI Sitara processor.
I am using UBOOT and a custom Linux kernel / image on it.
I am using the USB RNDIS Ethernet method of ...
0
votes
1
answer
52
views
Error compile TypeScript: error TS5024: Compiler option 'target' requires a value of type string
I'm setting up an environment to work on a WSL. I want to work with typescript files but I have issue executing script in my project.
If I execute the following command ts-node -e 'console.log("...
0
votes
1
answer
53
views
Installing Opam and OCaml on Windows with WSL Ubuntu
I am trying to install OCaml on Windows using WSL.
I followed these instructions: Install WSL
So I opened a PowerShell and typed wsl --install
After having rebooted, I started the Windows Command ...
1
vote
0
answers
20
views
How can I make dotnet accept self signed CA (MITMproxy) in ubuntu (wsl2)?
I installed mitmproxy and started it - I then added it's CA certificate to the ubuntu accepted CAs (copied to /usr/local/share/ca-certificates/ and added to accepted with update-ca-certificates).
curl ...
1
vote
1
answer
58
views
VS Code can't find Python interpreter in WSL after latest update
Following the latest VS Code update I have had some problems with finding my Python interpreter. VS Code seems to be looking in my C drive for my Python install, instead of inside of WSL (Ubuntu).
I ...
-1
votes
0
answers
9
views
Output of hostname -I not making sense to me [migrated]
I'm trying to understand networking, and I've noticed my router's local IP address is 10.0.0.1, but my computer's local ip address (found from hostname -I in a WSL shell) is 172,17.xx.xx. When I run ...
0
votes
0
answers
44
views
How to run ./bin/dev for Ruby on Rails from WSL
I cloned a repository which uses /bin/dev to update the changes in the code (tailwind css) dynamically without the need of asssets:recompilation.
As I am using Windows, in order to run ./bin/dev, I ...