ERROR: Unsatisfiable requirements detected for package TreeViews [a2a6695c]

See @chakravala’s comment here Julia v1.4.0 has been released - #18 by ablaom

You could do rm -rf ~/.julia and try again from scratch but I would back up you repl history to not lose anything important.