Skip to content

electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory #4

@swordfishtr

Description

@swordfishtr

I set up the app as explained in README. Installation was successful and running npm start throws an error. Here's the console output:

[demir@demirpc kmp-editor-0.5.2]$ npm start

> hlorenzi-kmp-editor@0.5.2 start /home/demir/mkwii-modding/kmp-editor-0.5.2
> electron .

/home/demir/mkwii-modding/kmp-editor-0.5.2/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! hlorenzi-kmp-editor@0.5.2 start: `electron .`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the hlorenzi-kmp-editor@0.5.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/demir/.npm/_logs/2020-05-10T13_13_13_061Z-debug.log

Googling this error reveals that the GConf package provides this shared object file. Further searches reveal that GConf is obsolete and deprecated, and apparently an unnecessary dependency of some electron apps 1 2.
I kindly ask you to check if GConf is really still needed and update the dependency list accordingly. Thanks in advance and have a great day.
(Edited for readability)
2020-05-10T13_13_13_061Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions