Read the statement by Michael Teeuw here.
Can't install / Error with NPM / Electron not found
-
Hey guys,
(I’m using Linux 18.10, doing a manual install)
So I have installed MagicMirror before and had no trouble with it that I couldn’t fix. But I just tried installing it on another computer, and I keep getting this error now:
> magicmirror@2.6.0 start /home/magicmirror/new/MagicMirror > sh run-start.sh /home/magicmirror/new/MagicMirror/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! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.6.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.6.0 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/magicmirror/.npm/_logs/2019-01-02T15_23_49_977Z-debug.log
I have tried re-installing several times and tried older suggestions here on the forum. Might it be because of the new release? Any ideas?
-
@mdhenriksen said in Can't install / Error with NPM / Electron not found:
libgconf-2.so.4
a google search for ‘error while loading shared libraries: libgconf-2.so.4’
see https://github.com/electron/electron/issues/1518 -
@sdetweil I’ve tried that. It just says the following:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libconf-2-4
-
note the missing g
libconf-2-4
should be
libgconf-2-4 -
@sdetweil said in Can't install / Error with NPM / Electron not found:
note the missing g
libconf-2-4
should be
libgconf-2-4Hah! Sorry, such a dummy. Works now, thanks buddy!!
-
cool… can u mark your issue as solved