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

    Posts

    Recent Best Controversial
    • RE: Manual Installation Trouble

      Thank you I hit Y, but how can I reverse it? I want to start installing modules but the mirror screen keeps running

      posted in Troubleshooting
      B
      brendan_c23
    • RE: Manual Installation Trouble

      @sdetweil Thank you. Can you link me to PM2 installation

      posted in Troubleshooting
      B
      brendan_c23
    • RE: Manual Installation Trouble

      @sdetweil Delete MM folder? How do I do that
      And I think so but not totally sure

      posted in Troubleshooting
      B
      brendan_c23
    • RE: Manual Installation Trouble

      @sdetweil Do I need to clear all of the previous downloads/code or am I good to just copy + paste that line below everything?

      posted in Troubleshooting
      B
      brendan_c23
    • RE: Manual Installation Trouble

      @brendan_c23 I am attempting to install the latest Node.js version using the code provided on the manual installation page of this website. I copy and pasted each line one by one as directed. When I got to the “npm run start” line, I am hit with these lines:

      pi@raspberrypi:~/MagicMirror $ npm run start

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

      /home/pi/MagicMirror/node_modules/electron/index.js:14
      throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)
      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
      at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
      at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
      at Module._compile (internal/modules/cjs/loader.js:778:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.14.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.14.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/pi/.npm/_logs/2021-01-16T20_10_19_289Z-debug.log

      I am not sure where to go from here. Any guidance/help would be greatly appreciated. I am using a 2Gb raspberry Pi 4. I have a very limited background in coding, but I notice it is telling me to delete the node_modules/electron and try installing again, any guidance on how to go about doing that would be appreciated.

      Thanks you guys

      posted in Troubleshooting
      B
      brendan_c23
    • Manual Installation Trouble

      Manual Installation Trouble Error

      posted in Troubleshooting
      B
      brendan_c23
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 6 / 6