Read the statement by Michael Teeuw here.
Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)
-
Did a full reinstall last week. Last version os contains node, but misses npm. After installing npm the mm install script worked. I had to delete the MagicMirror directory which was kept from the first failed install
-
This needs a script to check for npm and node, and install right version
-
@jevanha
After completly reinstalling MagicMirror 250 works. Thank you for your wonderfull documented installation manual. -
Couple things:
- Please use the Markdown features of the board when posting code and logs.
- I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.
- Please remember to mark this topic as solved.
-
@bhepler said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):
I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.
Second this.
For anyone who comes across this error:
/home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27’ not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR!
It may be caused by npm trying to install electron v4.0.0, this version has some reference errors on the Pi: https://github.com/electron/electron/issues/16205 and a lower version (v3.0.13) should be used.