Read the statement by Michael Teeuw here.
Error: Cannot find module 'undici' after update using script from sdetweil
- 
 Applied the latest update of MM to my rpi4 and am getting the following error when trying to launch MM Error: Cannot find module ‘undici’  Running the script shows the latest nodejs version etc  
- 
 @Gnardar replied net, you attempted upgrade manually, and got caught be the node upgrade requirement now MagicMirror code is 2.30, node is downlevel 
 npm install failsthen you ran upgrade script, but it will not upgrade same version (without extra step) 
 so it made no change, stuck in same spotto force upgrade in this situation, change the word apply 
 to force on the upgrade command
- 
 @Gnardar show the rest of the upgrade.log 
- 
 @sdetweil Are you wanting to see it from when I ran the upgrade or when I run it again to see that it is up to date? 
- 
 @Gnardar where you ran the upgrade, just send the whole file to my email, same userid at gmail 
 it didn’t finish for some reason
- 
 @sdetweil Sent. Thanks! 
- 
 @Gnardar replied net, you attempted upgrade manually, and got caught be the node upgrade requirement now MagicMirror code is 2.30, node is downlevel 
 npm install failsthen you ran upgrade script, but it will not upgrade same version (without extra step) 
 so it made no change, stuck in same spotto force upgrade in this situation, change the word apply 
 to force on the upgrade command
- 
S sdetweil has marked this topic as solved on
