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.logI 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login