MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Can't install / Error with NPM / Electron not found

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 2.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mdhenriksen
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 2
        • M Offline
          mdhenriksen @sdetweil
          last edited by

          @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
          
          
          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil
            last edited by

            note the missing g

            libconf-2-4
            should be
            libgconf-2-4

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 2
            • M Offline
              mdhenriksen @sdetweil
              last edited by

              @sdetweil said in Can't install / Error with NPM / Electron not found:

              note the missing g

              libconf-2-4
              should be
              libgconf-2-4

              Hah! Sorry, such a dummy. Works now, thanks buddy!!

              1 Reply Last reply Reply Quote 1
              • S Offline
                sdetweil
                last edited by sdetweil

                cool… can u mark your issue as solved

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy