Read the statement by Michael Teeuw here.
EBADENGINE
-
@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 -
@sdetweil
tried that now it is unable to install the dependencies -
@juicebox tried what?
you flashed a new SD card, with some full image (as required)
booted the new sd card
and then ran my scriptshow me the ~/install.log
you CANNOT just run the script… as it does NOT undo the bad node version
