Read the statement by Michael Teeuw here.
EBADENGINE
-
@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 20Then 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 -
@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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login