Read the statement by Michael Teeuw here.
Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)
-
@jevanha said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):
it was really required that I completly reinstall the Raspbian pi 3B+ sd card. Format, first install the full Rasbian latest version. After that I run update & upgrade and also the firmware update. Then I searched and found the MagicMirror installer I used before:
Re: Unable to install dependencies - npm not found
With Rasbian of 2018-11-13, I had the same issue. So I install only npm,
sudo apt-get install npm sudo npm install -g npm@latest
Also I used the pre-built node which is 8.x in the latest version of Rasbian.
While I install, I made a video and please check https://youtu.be/UBgH5hejYtM.Thanks,
Dependency Versions
- OS : 2018-11-13-raspbian-stretch-full.img
- MagicMirror2 : 2.5.0
- MMM-Hotword : 1.1.0
- MMM-AssistantMk2 : 2.1.2
-
@makepluscode
Hello thanks for your reaction and advise. Lot’s of work to do for me ;-). Nice job to do tomorrow at News Years day.For tonight have a nice evening but be carefull with fireworks and a Happy New Year.
I’ll let you know about my result.
Regards
Jan -
@jevanha Getting the same error on my second MM, haven’t fiddled around with it much yet though. Will let you know when I have looked at it. 😄
-
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.