I have had no luck building my ElectronJS DMD 5620 emulator on Linux. I keep butting heads with recompiling Electron and native NodeJS modules. In general, the JS ecosystem is just frustrating as hell.
Rather than keep fighting it, I just built a damn GTK+ app instead. It didn’t take long, and it validated my decision to separate the back end library and the front end so cleanly.