John John - 1 year ago 272
Node.js Question

error while loading shared libraries:

I am trying to get started with electron to build desktop apps, and I ran into the following error while trying to start the application.

error while loading shared libraries: cannot open shared object file: No such file or directory

this occur after in ran the
electron main.js
via bash on my windows 10 device.

Electron was installed as follow:

npm install electron --save-dev

Any help would be greatly appreciated

Answer Source

You need to apt-get install libgtk2.0-0 and install an X server for Windows, such as xming.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download