Read the statement by Michael Teeuw here.
EBADENGINE
-
npm error code EBADENGINE npm error engine Unsupported engine npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0 npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0 npm error notsup Required: {"node":">=20.9.0 <21 || 22"} npm error notsup Actual: {"npm":"10.9.0","node":"v23.3.0"} npm error A complete log of this run can be found in: /home/xavierprince/.npm/_logs/2024-12-07T21_55_00_339Z-debug-0.log
-
@juicebox yes, we do not support node 23 at this time
The doc says to check the level neededYou can do this
sudo npm i n -g sudo n 20
Then you can do the npm run install-mm in the MagicMirror folder
-
@sdetweil
sorry for the late reply but I tried that and the same error appearednpm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0
npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0
npm error notsup Required: {“node”:“>=20.9.0 <21 || 22”}
npm error notsup Actual: {“npm”:“10.9.0”,“node”:“v23.3.0”} -
Can you close and open the terminal window
And then do
node -v -
@sdetweil it says
v23.3.0 -
-
@sdetweil the output
copying : node/20.18.1
installed : v20.18.1 (with npm 10.8.2) -
-
@sdetweil
i got that
v23.3.0 -
@juicebox ok… well, I don’t know…
start over
use my install script, it adds nodejs as required
see
https://github.com/sdetweil/MagicMirror_scripts