Username 'MY_USERNAME' unknown.
Try to run it and get this error message. It suggests me using whoami to learn the username. However, it shows the same username I used for config. Specific below:
Username 'anhnguyen' unknown. Please use your OSX username instead. If you have trouble finding it, just enter the command 'whoami' in your terminal. Anhs-MacBook-Pro:auto-selfcontrol-master anhnguyen$ whoami anhnguyen
Anyone has any ideas what is the problem?
Just for due diligence; make sure you don’t have any extra spaces, lookalike characters, missing characters, and that your quotes are correct. Copy and paste the whoami result just to be sure.
Post that line of the config here also so we can see.
Hi @slambert, here is the line of the config:
{ "username": "anhnguyen", "selfcontrol-path": "/Applications/SelfControl.app", "host-blacklist": [
and this is the result from whoami command:
Anhs-MacBook-Pro:~ anhnguyen$ whoami anhnguyen