Read the statement by Michael Teeuw here.
MMM-SpeedTest Fails to Install
-
Hi @Bugsounet Thanks for the great module but I am having issues with installing the above module. I managed to install it fine on my Laptop running Ubuntu on Windows. When I tried to install it on my Raspberry Pi 3B+ I get an error. The error I get right at the end of the install is as follows:
8734 silly lifecycle MMM-SpeedTest@1.0.0~postinstall: Args: [ '-c', 8734 silly lifecycle 'echo \'Building SpeedTest module, please wait...\' && electron-rebuild 2>/dev/null >/dev/null' ] 8735 silly lifecycle MMM-SpeedTest@1.0.0~postinstall: Returned: code: 1 signal: null 8736 info lifecycle MMM-SpeedTest@1.0.0~postinstall: Failed to exec postinstall script 8737 verbose stack Error: MMM-SpeedTest@1.0.0 postinstall: `echo 'Building SpeedTest module, please wait...' && electron-rebuild 2>/dev/null >/dev/null` 8737 verbose stack Exit status 1 8737 verbose stack at EventEmitter.<anonymous> (/home/pi/.npm-global/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 8737 verbose stack at EventEmitter.emit (events.js:180:13) 8737 verbose stack at ChildProcess.<anonymous> (/home/pi/.npm-global/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 8737 verbose stack at ChildProcess.emit (events.js:180:13) 8737 verbose stack at maybeClose (internal/child_process.js:936:16) 8737 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 8738 verbose pkgid MMM-SpeedTest@1.0.0 8739 verbose cwd /home/pi/MagicMirror/modules/MMM-SpeedTest 8740 verbose Linux 4.14.52-v7+ 8741 verbose argv "/usr/bin/node" "/home/pi/.npm-global/bin/npm" "install" 8742 verbose node v9.11.2 8743 verbose npm v6.14.8 8744 error code ELIFECYCLE 8745 error errno 1 8746 error MMM-SpeedTest@1.0.0 postinstall: `echo 'Building SpeedTest module, please wait...' && electron-rebuild 2>/dev/null >/dev/null` 8746 error Exit status 1 8747 error Failed at the MMM-SpeedTest@1.0.0 postinstall script. 8747 error This is probably not a problem with npm. There is likely additional logging output above. 8748 verbose exit [ 1, true ]I tried uploading the full log but keep getting an error.
-
@mumblebaj hi, I see your log and I have see very old version of node and npm.
Again I see an old Linux firmware. Try to update your rpi ;) -
@Bugsounet Thanks for the response. Will update and try again.
-
@Bugsounet Updated and it now works fine. Thanks @Bugsounet
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login