• 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.

Problem with electron

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 334 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 Feb 27, 2021, 10:08 AM Feb 27, 2021, 9:36 AM

    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 Feb 27, 2021, 1:09 PM Reply Quote 0
    • S Away
      sdetweil @Ex0HanZ
      last edited by Feb 27, 2021, 1:09 PM

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