Read the statement by Michael Teeuw here.
Installing on Pi 3B | Unable to install dependencies! | Error 128 in debug logs
-
It looks like you’re attempting to install the Magic Mirror as the root user. You don’t want to do that. I would delete the
/root/MagicMirror
directory, change back to the pi and then install from the home directory of that user. -
Thanks for getting back to me @bhepler! I ran it as the normal PI user but ran into this:
Installing dependencies ... npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js successfully dowloaded and extracted! > electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js Downloading electron-v2.0.16-linux-arm.zip Error: read ECONNRESET /home/pi/MagicMirror/node_modules/electron/install.js:54 throw err ^ Error: read ECONNRESET at _errnoException (util.js:1022:11) at TLSWrap.onread (net.js:628:25) npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@2.0.16 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@2.0.16 postinstall 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/2019-01-25T18_59_27_944Z-debug.log Unable to install dependencies!
Although, I got a little further this time around!
-
I was an idjit. I thought I had removed the directories but it seems there was another hidden one. We’re fine!
-
@roskafarian Glad to hear it! Does that mean this issue is resolved?
-
Oh yes! We’re cooking with lighter fluid as we speak
-
In case you didn’t find a solution yet, a user by the name sdetweil just helped me with a similar problem with my RPi 3 B+ running the latest Rasbian Stretch.
Here is the link to that discussion for everyone else who is stuck at this step too:
https://forum.magicmirror.builders/topic/9636/stuck-at-unable-to-install-dependencies/8?page=1