MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. jefftse
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Electron quit periodically

      @sdetweil

      total           used        free        shared  buff/cache   available
      Mem:            3791        1127        1276         210        1674        2664
      Swap:            511           0         511
      

      how do i get you the startup info from the logs? pm2 log? or npm log?

      posted in Troubleshooting
      J
      jefftse
    • Electron quit periodically

      my MM quits and restarts periodically. When I looked at the logs from pm2 and here is what I get. I wonder if anyone is experiencing the same thing and any solutions?

      0|mm | MEMORY-ERROR: electron[20099]: GSlice: assertion failed: sinfo->n_allocated > 0
      0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGABRT

      posted in Troubleshooting
      J
      jefftse
    • RE: MMM-Pir or MMM-PIR-Sensor

      @sdetweil thank you and i got it working!

      posted in Troubleshooting
      J
      jefftse
    • RE: MMM-Pir or MMM-PIR-Sensor

      @sdetweil gotcha. can you point me the right post to fix this please?

      posted in Troubleshooting
      J
      jefftse
    • RE: MMM-Pir or MMM-PIR-Sensor

      @sdetweil does it still work? I can’t get it to work to save my life?

      posted in Troubleshooting
      J
      jefftse
    • RE: MMM-Pir or MMM-PIR-Sensor

      Did anyone get MMM-PIR-Sensor work with bookworm?

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil Thank you!

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil i think i got it working. I deleted everything and run your script again in “pi” user.

      one question, I just enabled auto start and how do i disable it ? I need to config the config file

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil correct, and I created an user for the install. the install went fine. I just can’t run it!

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil sure did. I had to create an user to run your script since it wouldn’t allow me to do in root

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil yes, in fact, i had it all working yesterday till I accident broken my sd card. I had to rebuild everything today.

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil

      XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
      XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
      DISPLAY=:0.0

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil

      just did that and the error is below

      magicmirror@2.11.0 start /home/jeff/MagicMirror
      electron js/electron.js

      No protocol specified

      (electron:32527): Gtk-WARNING **: 21:53:58.634: cannot open display: :0.0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: electron js/electron.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.11.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/jeff/.npm/_logs/2020-06-24T01_53_58_663Z-debug.log

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil

      I tried both. I even deleted the whole folder and reinstalled. Maybe electron is the problem.

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil

      I did and the same thing

      posted in Troubleshooting
      J
      jefftse
    • RE: can't run "npm run start"

      @sdetweil

      Raspberry pi 4 raspbrian

      posted in Troubleshooting
      J
      jefftse
    • can't run "npm run start"

      I can do “npm run server” but not “npm run start”

      Any takers?

      magicmirror@2.11.0 start /home/jeff/MagicMirror
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      No protocol specified

      (electron:17603): Gtk-WARNING **: 18:42:53.065: cannot open display: :0.0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.11.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/jeff/.npm/_logs/2020-06-23T22_42_53_102Z-debug.log

      posted in Troubleshooting
      J
      jefftse
    • 1 / 1