NoBugs
NoBugs

Reputation: 9496

Electron does not render anything on Ubuntu

I'm trying to run an electron app (https://github.com/JamieMagee/teams-for-linux to be precise) and while I got it to run and compile, it is now showing whatever was behind the screen - like it is literally never painting the window display.enter image description here

I know that being based on Chrome, Electron is known to have graphical glitches from time to time but I'm not sure how to troubleshoot this issue - when I jump a few commits back it starts giving a JS exception and does not run at all. Is there a library I need to package or set up to get forms to render on Ubuntu 14.04?

The only warning shown while running:

yarn compile v0.15.1
$ rimraf 'app/**/*.js' && tsc 
Done in 2.00s.
~/teams-for-linux/node_modules/electron/dist/electron: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by ~/teams-for-linux/node_modules/electron/dist/electron)
~/teams-for-linux/node_modules/electron/dist/electron: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by ~/teams-for-linux/node_modules/electron/dist/electron)

Upvotes: 1

Views: 1120

Answers (1)

Pragathy Thiyagarajan
Pragathy Thiyagarajan

Reputation: 57

I also faced this issue.
This command helped me:

yarn electron --disable-gpu

Upvotes: 3

Related Questions