I have had the same problem with my 2012 Leaf this past summer.
Back in July 2018 my parking brake failed but luckily it was in the disengaged mode. I continued driving until I could gather up service information and diagnostic tool (leafspypro).
I'm a pretty handy guy,.. but was intimidated by...