Read the statement by Michael Teeuw here.
module update
-
-
Thanks for your feedback but it won’t restart.
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-GooglePhotos
pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ npm instal
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios
npm ERR! dest /home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/.axios-r4bdKtOS
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename ‘/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios’ -> ‘/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/.axios-r4bdKtOS’npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-03-13T15_20_28_109Z-debug-0.log
pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $
pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ pm2 restart MagicMirror
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
[PM2] MagicMirror ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ fork │ 2 │ online │ 0% │ 2.4mb │
│ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ -
@pat59 ok, back to the module folder again, and do
sudo rm -rf node_modules npm install
and restart mm
-
sorry it doesn’t restart
pi@raspberrypi:~ $ cd ~/MagicMirror/modules
pi@raspberrypi:~/MagicMirror/modules $ sudo rm -rf node_modules
pi@raspberrypi:~/MagicMirror/modules $ npm installmagicmirror@2.26.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.26.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
up to date in 3s
magicmirror@2.26.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
up to date in 2s
MagicMirror² installation finished successfully!magicmirror@2.26.0 prepare
[ -f node_modules/.bin/husky ] && husky install || echo no husky installed.husky - Git hooks installed
up to date in 33s
196 packages are looking for funding
runnpm fund
for details
pi@raspberrypi:~/MagicMirror/modules $ pm2 start mm
[PM2] Applying action restartProcessId on app [mm](ids: [ 0 ])
[PM2] mm ✓
[PM2] Process successfully started
┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ default │ 2.26.0 │ fork │ 911 │ 3m │ 0 │ online │ 0% │ 2.5mb │ pi │ enabled │
│ 0 │ mm │ default │ N/A │ fork │ 1697 │ 0s │ 0 │ online │ 0% │ 2.4mb │ pi │ disabled │
└─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror/modules $ -
@pat59 no, the MODULE folder.
cd ~/MagicMirror/modules/MMM-GooglePhotos sudo rm -rf node_modules npm install
-
yes great it works very well thanking you for your sympathy and your patience
Sincerely