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

    darkcloud784

    @darkcloud784

    1
    Reputation
    440
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    darkcloud784 Unfollow Follow

    Best posts made by darkcloud784

    • RE: Electron error on install.

      @Mykle1 said in Electron error on install.:

      @darkcloud784

      Try deleting the electron folder from this path:
      `MagicMirror/node_modules/electron

      Then run npm install in the MagicMirror directory. This should install electron for you.

      Then run npm start in the MagicMirror directory

      Unfortunately this didn’t work for me, but I did find a solution. I had to upgrade nodejs manually.

      npm cache clean -f
      npm install -g n
      n stable
      
      posted in Troubleshooting
      D
      darkcloud784

    Latest posts made by darkcloud784

    • RE: Electron error on install.

      @Mykle1 said in Electron error on install.:

      @darkcloud784

      Try deleting the electron folder from this path:
      `MagicMirror/node_modules/electron

      Then run npm install in the MagicMirror directory. This should install electron for you.

      Then run npm start in the MagicMirror directory

      Unfortunately this didn’t work for me, but I did find a solution. I had to upgrade nodejs manually.

      npm cache clean -f
      npm install -g n
      n stable
      
      posted in Troubleshooting
      D
      darkcloud784
    • Electron error on install.

      I seem to get the following error when installing magicmirror on a 100% fresh raspbian jessie 7-05-2017 pi 3b. In addition I also get this error when attemping to install electron directly from their repo. I have tried deleting my node_modules and reinstalling again as well with no success.

      pi@raspberrypi:~/MagicMirror $ npm install
      
      > uws@0.14.5 install /home/pi/MagicMirror/node_modules/uws
      > node-gyp rebuild > build_log.txt 2>&1 || exit 0
      
      
      > electron-chromedriver@1.6.0 install /home/pi/MagicMirror/node_modules/electron                                                                                                                                   -chromedriver
      > node ./download-chromedriver.js
      
      
      > electron@1.7.9 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      /home/pi/MagicMirror/node_modules/electron/install.js:48
        throw err
        ^
      
      Error: read ECONNRESET
          at exports._errnoException (util.js:1020:11)
          at TLSWrap.onread (net.js:568:26)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron@1.7.9 postinstall: `node install.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@1.7.9 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                   ging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2017-11-20T20_52_58_769Z-debug.log
      
      posted in Troubleshooting
      D
      darkcloud784