@millis I just did it again without issues…
the error shown seems to indicate that you picked the wrong app type
the credentials.json (that you downloaded from google)  should look like this
{
  "installed": {     
    "client_id": "cccccc",
    "project_id": "ccccc",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "ccccc",
    "redirect_uris": [
      "http://localhost"
    ]
  }
}
the code is looking for the “installed”  item