I think this could be the same issue with;
https://forum.magicmirror.builders/topic/8857/electron-error-cannot-open-display-0/5