I am unable to install volta as per its recommended command curl https://get.volta.sh | bash
on WSL.
I keep getting this error. And I have no idea what it means.
Found out the answer.
Not sure why exactly, but it turns out my Ubuntu WSL was still on WSL 1, not 2. Updating it solved the problem.