Read the statement by Michael Teeuw here.
Setup script fails
-
after checking here for similar issue, I used bigger desktop image (2019-07-10-raspbian-buster.zip) . Still issue as below, what can I do do complete install?
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. > electron-chromedriver@1.8.0 install /root/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module '/root/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:829:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-chromedriver@1.8.0 install 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! /root/.npm/_logs/2019-07-13T16_33_01_193Z-debug.log Unable to install dependencies! pi@raspberrypi:~ $
-
@Joern I think npm is downlevel
Do
sudo npm i -g npm
To install the latest system wide
Then redo the npm install in the MagicMirror folder
-
I have the exact same issue and tried countless installs and re-installs without any success. I installed it on another pi a few days ago without any issues, but have been struggling to get it going on my Pi3 for the last 2 days and it is driving me nuts.
I tried the above recommendation also without any luck.
-
@qtin can u tell us the difference between the two pi devices?
-
Hi Sam
Thanks for the response. There are no differences other than hardware. I used the exact same Raspbian (NOOBS) image, installed from scratch and followed the same steps.
Only difference is that I installed it on the Pi2 earlier last week, and on the Pi3 a few days later.I will get another SD Card and try it again on the Pi2 and see if it has the same issue now.
-
-
@sdetweil , I’ve checked both Pi2 and Pi3 and they both return the following - exactly the same:
pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux
-
Just some random thoughts:
Are the update/install servers are the same for the 2 RPis?
/etc/apt??? (not sure about the exact path…) is the location of the files that defines the update servers.Do they gave the same internet access? No problem accessing any website on the problematic one?
-
Thanks for the suggestion but I managed to get it to work with help from @sdetweil on my other forum post.
Steps to follow are as follow:
sudo npm i -g npm
cd MagicMirror
- (Inside the MagicMirror directory)
rm -rf node_modules/
- (Inside the MagicMirror directory)
npm install
All done :-)
-
@qtin cool! Thanks for the update!