Read the statement by Michael Teeuw here.
Bugsounet and MMM-Pir
-
@rkorell said in Bugsounet and MMM-Pir:
So I have to stay with the old mirror version to keep module running?
i do not know…
I do not understand these dependencies
rather than put all the code in the module, there are libraries of things
that can be called…so you make those libraries as separate packages and list them in the dependencies section of package.json and npm install goes and gets them
he might have decided that multiple components needs the same functions and packaged as library, to be loaded by all that needed it, code once, ship multiple times…
except that breaks now as the dependencies also are no longer availableas I said in my initial warning post, plan for them all to fail to work
-
@lif yeh, my upgrade script does the nodejs upgrade too…
use the n command
sudo npm install n -g sudo n xxx where xxx is the version you want to use
recent backup didn’t work
how backup? use my backup/restore
yes that is broken too, as the authors repos no longer exist and binary backup may not work on different OS level/nodejs level
-
@sdetweil said in Bugsounet and MMM-Pir:
how backup? use my backup/restore
yes that is broken too, as the authors repos no longer exist and binary backup may not work on different OS level/nodejs level
IMG file on my (new) linux desktop
-
@sdetweil said in Bugsounet and MMM-Pir:
@lif yeh, my upgrade script does the nodejs upgrade too…
use the n command
sudo npm install n -g sudo n xxx where xxx is the version you want to use
Thanks, added to my install notes
-
@lif n is the nodejs version of nvm
-
@sdetweil said in Bugsounet and MMM-Pir:
plan for them all to fail to work
yes - as stated -really unfortunate!
Thanks for your clarification!
Ralf -
I’ve reinstalled MagicMirror with your script, it worked wonderfully, than you very much for doing this.
Best regards from France.
-
@sdetweil @lif
For your information:I was successful with installing MMM-Pir on my brand new Pi5/bookworm:
pi@MagicMirrorPi5:~ $ cd MagicMirror/modules pi@MagicMirrorPi5:~/MagicMirror/modules $ tar -xf MMM-Pir.tar.gz pi@MagicMirrorPi5:~/MagicMirror/modules $ cd MMM-Pir/ pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ npm install > MMM-Pir@2.4.4 preinstall > echo ⚠ npm install will be deprecated on next release!. ⚠ npm install will be deprecated on next release!. > MMM-Pir@2.4.4 install > npm run setup > MMM-Pir@2.4.4 presetup > npm run dependencies && installer/preinstall.sh > MMM-Pir@2.4.4 dependencies > installer/dependencies.sh -d 'unclutter ddcutil cec-utils python3 python-is-python3 python3-gpiozero gpiod libgpiod2 libgpiod-dev' Welcome to MMM-Pir v2.4.4 ① ➤ dependencies installer Checking OS... OS Detected: linux-gnu (debian 12 aarch64) Checking all dependencies... All Dependencies needed are installed ! ② ➤ Preinstall No root checking... Checking MMM-Pir: pi/pi Checking MagicMirror: pi/pi Installing @sdetweil sandbox fix... fixing sandbox permissions ③ ➤ Install npm dependencies > MMM-Pir@2.4.4 setup > npm prune up to date in 990ms 124 packages are looking for funding run `npm fund` for details > MMM-Pir@2.4.4 postsetup > installer/postinstall.sh -m -r ④ ➤ Postinstall Minify Main code... Found: 10 files to install and minify Process File: MMM-Pir/MMM-Pir.js Process File: MMM-Pir/node_helper.js Process File: MMM-Pir/components/cronJob.js Process File: MMM-Pir/components/governorLib.js Process File: MMM-Pir/components/motion.js Process File: MMM-Pir/components/motionLib.js Process File: MMM-Pir/components/pirLib.js Process File: MMM-Pir/components/screenDisplayer.js Process File: MMM-Pir/components/screenLib.js Process File: MMM-Pir/components/screenTouch.js Done Try to Disable screen saver... Found: screen saver in gsettings disable screensaver via gsettings was true and uint32 300 Found: screen saver in lightdm disable screensaver via lightdm.conf Found: screen saver in lxsession disable screensaver via lxsession Found: wayfire.ini [WARN] There is some change for disable screen saver [WARN] Please, don't forget to reboot your OS for apply the new configuration! Done Rebuild MagicMirror... ✔ Rebuild Complete Done MMM-Pir is now installed ! > MMM-Pir@2.4.4 postinstall > echo ⚠ On next release, Please use: npm run setup ⚠ On next release, Please use: npm run setup added 1 package in 31s 124 packages are looking for funding run `npm fund` for details pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $
I will have to play with the screen options (caused for sure by bookworm) because right now I get an error notification from MMM-Pir (screen error detected: dpms command error(mode 1) ) but there are several other modes to try …
Regards,
Ralf -
@rkorell yeh, fun times
-
@sdetweil yes! :-)