Issues setting up on windows

Environment setup always wrecks me. I cannot get Turso to install, I always get a wsl error:
<3>WSL (8) ERROR: CreateProcessParseCommon:754: getpwuid(0) failed 2 Processing fstab with mount -a failed. <3>WSL (8) ERROR: CreateProcessEntryCommon:331: getpwuid(0) failed 2 <3>WSL (8) ERROR: CreateProcessEntryCommon:502: execvpe /bin/bash failed 2 <3>WSL (8) ERROR: CreateProcessEntryCommon:505: Create process not expected to return
I am using powershell 7, not the default windows powershell. I get that error with all of these commands:
curl -sSfL https://get.tur.so/install.sh | bash
curl https://get.tur.so/install.sh | bash
powershell -c "iwr https://get.tur.so/install.sh | bash -sSfL"
powershell -c "iwr https://get.tur.so/install.sh | bash"
powershell -c "iwr https://get.tur.so/install.sh | bash" -sSfL
curl -sSfL https://get.tur.so/install.sh | bash
curl https://get.tur.so/install.sh | bash
powershell -c "iwr https://get.tur.so/install.sh | bash -sSfL"
powershell -c "iwr https://get.tur.so/install.sh | bash"
powershell -c "iwr https://get.tur.so/install.sh | bash" -sSfL
Any ideas on what else I can try, or if there is something I need to change/install first?
2 Replies
Luckys
Luckys7mo ago
Can you run "wsl -l" and tell us what it shows?
UberAffe
UberAffe7mo ago
Not at my computer right now, but I will later. As a side note, when I ran wsl install it gave me an Ubuntu shell that I could run the turso command in successfully, but that shell is partitioned from the rest of my system. running that helped identify one issue, it had the wrong default. now it shows
PS C:\Users\...\AppData\Local\nvim> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
Ubuntu-22.04
docker-desktop
docker-desktop-data
PS C:\Users\...\AppData\Local\nvim> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
Ubuntu-22.04
docker-desktop
docker-desktop-data
I ended up getting fed up trying to work around wsl though and I just cloned the repo and ran cd cmd/turso && go install from inside it. Worked perfectly, I should have just done that from the start.
Want results from more Discord servers?
Add your server