Read the statement by Michael Teeuw here.
Issues running MM on Debian 11 on Mac mini
-
I recently installed Debian 11 on an older Mac mini without any issues. However, I am unable to run Magic Mirror.
This is the error that occurs when I type in “npm run start”:
raspi@raspberry:~/MagicMirror $ npm run start
magicmirror@2.22.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.jssh: 1: ./node_modules/.bin/electron: not found
npm ERR! code 127
npm ERR! path /home/raspi/MagicMirror
npm ERR! command failed
npm ERR! command sh -c DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.jsnpm ERR! A complete log of this run can be found in:
npm ERR! /home/raspi/.npm/_logs/2023-01-07T11_43_55_951Z-debug.log
raspi@raspberry:~/MagicMirror $This is the npm and node versions:
raspi@raspberry:~/MagicMirror $ npm --version
7.5.2raspi@raspberry:~/MagicMirror $ node --version
v12.22.12Any help would be most appreciated!!
-
@Redicaljk u are on node 12. need to be 16 at least.
if u had used my script it would have upgraded node as part of the install
see
https://github.com/sdetweil/MagicMirror_scriptsyou can try the upgrade script w force. it will upgrade node too
-
@sdetweil thank you!
I attempted to load the script but had this issue:
Installing helper tools …
Updating packages …
[ <=> ]
installing correct version of node and npm, please wait
node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/local/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
node failed to install, exiting -
@Redicaljk So u need to install libstdc++.so.6
is this a lite debian? needs desktop for browser