• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.3k 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 Jan 2, 2019, 3:26 PM

    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 Away
      sdetweil
      last edited by Jan 2, 2019, 3:28 PM

      @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 Jan 2, 2019, 3:37 PM Reply Quote 2
      • M Offline
        mdhenriksen @sdetweil
        last edited by Jan 2, 2019, 3:37 PM

        @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 Away
          sdetweil
          last edited by Jan 2, 2019, 3:40 PM

          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 Jan 2, 2019, 3:44 PM Reply Quote 2
          • M Offline
            mdhenriksen @sdetweil
            last edited by Jan 2, 2019, 3:44 PM

            @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 Away
              sdetweil
              last edited by sdetweil Jan 2, 2019, 3:45 PM Jan 2, 2019, 3:45 PM

              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
              1 / 1
              • First post
                2/6
                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