I ran into a similar issue with VSCode. What fixed it was to simply open a regular powershell window (not an admin one) and then to update wsl:
wsl --update