"config.json file is missing" Error when Using "auth0 universal-login customize"

Problem statement

When trying to use the “auth0 universal-login customize” functionality in the Auth0 CLI to update the page templates, it keeps encountering the error message:

config.json file is missing

Symptoms

The user is unable to use the Auth0 CLI. When looking for this file in the default path (it should be where the auth0-cli/.config/auth0/config.json is installed) it’s not there.

Cause

This was due to the customer not granting the terminal Administrator permission to create new files.

Solution

The terminal where the Auth0 CLI is being run needs to be run as an Administrator with the “Run as administrator” permissions to give the CLI the ability to create the “config.json” file.