Windows Bash (WSL) - sudo: no tty present and no askpass program specified

After following this tutroial I get the following error when trying to run the commands as user or even sudo: sudo: no tty present and no askpass program specified The comments from Lurdan in t...