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: 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
    • 2
    • 3
    • 4
    • 4 / 4