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

Error Running Install Script

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 6 Posters 6.8k Views 6 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @russifer
    last edited by May 26, 2017, 12:48 AM

    @russifer

    I don’t know that it matters, but I’ve done all my MM installations while directly connected through ethernet, (not wif-fi). Also, in lieu of the automatic install script, I’ve done manual installations that were error free.

    If you don’t find a solution here, you could try deleting electron and reinstalling just that, as it appears the errors are electron based. If you are forced to start again from the beginning, I recommend following the tutorial precisely.

    Good luck.

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • U Offline
      uzumon
      last edited by May 26, 2017, 9:01 AM

      I have the same problem. Can any help?

      1 Reply Last reply Reply Quote 0
      • U Offline
        uzumon
        last edited by May 26, 2017, 9:15 AM

        I installed electron@1.6.9 and it works.

        M R 2 Replies Last reply May 26, 2017, 10:36 AM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @uzumon
          last edited by May 26, 2017, 10:36 AM

          @uzumon said in Error Running Install Script:

          I installed electron@1.6.9 and it works.

          There you go

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lausbuab1
            last edited by May 26, 2017, 12:57 PM

            How can I download the v.1.6.9?

            N 1 Reply Last reply May 26, 2017, 1:49 PM Reply Quote 0
            • R Offline
              russifer @uzumon
              last edited by May 26, 2017, 12:59 PM

              @uzumon Thank you - that solved it for me.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nhl @Lausbuab1
                last edited by May 26, 2017, 1:49 PM

                @Lausbuab1 sudo npm install electron@1.6.9 -g

                L 1 Reply Last reply May 28, 2017, 8:17 AM Reply Quote 0
                • L Offline
                  Lausbuab1 @nhl
                  last edited by Lausbuab1 May 28, 2017, 12:34 PM May 28, 2017, 8:17 AM

                  Found the solution for the problem:

                  Automatic installation script run through if I make the following:

                  This should be fixed now, I’ve added these missing entries to the file at https://github.com/electron/electron/releases/download/v1.6.10/SHASUMS256.txt

                  You will need to delete the cached ~/.electron/SHASUMS256.txt-1.6.10 before re-installing, please confirm if it now works for you.

                  (Author for Electron has written on his github)

                  B 1 Reply Last reply Jun 7, 2017, 9:16 PM Reply Quote 0
                  • B Offline
                    bminer1 @Lausbuab1
                    last edited by Jun 7, 2017, 9:16 PM

                    @Lausbuab1 Tried downloading 1.6.9 and got this

                    pi@raspberrypi:~ $ sudo npm install electron@1.6.9 -g
                    /usr/bin/electron -> /usr/lib/node_modules/electron/cli.js
                    
                    > electron@1.6.9 postinstall /usr/lib/node_modules/electron
                    > node install.js
                    
                    /usr/lib/node_modules/electron/install.js:47
                      throw err
                      ^
                    
                    Error: read ECONNRESET
                        at exports._errnoException (util.js:1018:11)
                        at TLSWrap.onread (net.js:568:26)
                    npm ERR! Linux 4.9.24-v7+
                    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron@1.6.9" "-g"
                    npm ERR! node v6.11.0
                    npm ERR! npm  v3.10.10
                    npm ERR! code ELIFECYCLE
                    
                    npm ERR! electron@1.6.9 postinstall: `node install.js`
                    npm ERR! Exit status 1
                    npm ERR! 
                    npm ERR! Failed at the electron@1.6.9 postinstall script 'node install.js'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the electron package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR!     node install.js
                    npm ERR! You can get information on how to open an issue for this project with:
                    npm ERR!     npm bugs electron
                    npm ERR! Or if that isn't available, you can get their info via:
                    npm ERR!     npm owner ls electron
                    npm ERR! There is likely additional logging output above.
                    
                    npm ERR! Please include the following file with any support request:
                    npm ERR!     /home/pi/npm-debug.log
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      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