MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Problem with electron

    Troubleshooting
    2
    2
    139
    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
      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
        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

        Create a working config
        How to add modules

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy