'Electron App not working in ubuntu 16 after upgrading to electron 18.2.0

I was building an app using Electron 16.0.6 and it was working fine in the following Ubuntu versions (16,18,20). Recently, I updated my electron App to version 18.2.0, Now the app is working in Ubuntu 18 and 20. But the app stops working in Ubuntu 16. When launching the app in Ubuntu 16, the icon blinks and disappears. The app does not launch.

I am using electron-packager and electron-installer-debian for creating build.

Does electron 18.2.0 support Ubuntu 16? I count not find anything related to this on electron document.

Thank you in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source