Open danbrakeley opened 3 years ago
I just now tried doing the same thing in Ubuntu via WSL, and it seems to have worked! But ideally I wouldn't need to do this via WSL.
I battled this for hours and ended up just having to switch to mac to get it to work
I just now tried doing the same thing in Ubuntu via WSL, and it seems to have worked! But ideally I wouldn't need to do this via WSL.
I've been struggling with this for hours now.
The error I'm hitting is quite identical to what you ran into here.
Do you have any tips on how to correctly setup WSL for this?
So if you are asking how to install WSL, I haven't had to do it in a while, but Microsoft should have official instructions. Also, I don't know if you still have to manually opt into WSL2, but there are big differences between WSL1 and WSL2, and WSL2 actually runs a real linux kernel in a hyper-v VM, vs WSL1 which is just a translation layer, and not a full kernel. So if you tried WSL1, I'd try WSL2 instead.
Some quick searches yields this promising page (including calling out how to check and set the WSL version): https://learn.microsoft.com/en-us/windows/wsl/basic-commands
I'm on Windows 10 Pro, with Docker for Windows running, and using git bash as my shell, and I was going through the steps in the README to deploy to a newly created sub-account (where cdk had already successfully bootstrapped), and got this output: