Amazon Linux ( AMI ) Electron dev environment - error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
cloroacidolD opened this issue · 0 comments
cloroacidolD commented
I have deployed an extremely basic Electron app to my Amazon Linux (AMI) cloud vm.
My vm has node v10.15.1 installed but for some reason it can't run this app correctly. Its failing at the start script and it looks like it cannot load this libgtk library.
I've tried searching how to install it and can't find anything. Here is most of the error message:
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! test-app@0.1.0 start: `electron`
npm ERR! spawn ENOENT
npm ERR!
```