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.

    Problem with electron

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 335 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.
    • E Offline
      Ex0HanZ
      last edited by Ex0HanZ

      Hello everyone,

      I’m trying to install MM on a normal desktop pc. I successfully installed Raspbian Desktop and downloaded MM + Node + pm2. Unfortunately when the system boots up, the MM screen shows up for 10-15 seconds then disappears and the normal Raspbian Desktop shows up.

      In terminal

      when I go to “cd MagicMirror/”

      Then I type “pm2 stop all”

      followed by "npm start:

      The result is:

      micmirror@2.14.0 start
      DISPLAY="${DISPLAY:=0}" ./node_modules/.bin/.electron js/electron.js
      
      sh:1 ./node_modules/.bin/electron: not found
      

      Can it be a problem because the PC is not a RaspberryPi? Or there is something else incompatible with the PC and Electron?

      Thank you in advance!

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Ex0HanZ
        last edited by

        @ex0hanz its not incompatible with.

        ive run that same combo without problem

        can u look at node_modules/.bin and see whats there.

        how did u install, git clone & npm install? or my automated script?

        if u do

        cd ~/MagicMirror
        npm start
        

        does mm run?

        is the user issuing pm2 resurect the same that did the pm2 save? and NOT root or sudo

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 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