I think you're encountering the problem described in the section "Electron flashes magenta after uploading binary" in this post. There are two easy solutions to the problem described there.
I think you're encountering the problem described in the section "Electron flashes magenta after uploading binary" in this post. There are two easy solutions to the problem described there.