a substitute for this straight forward but a little bit time intensive installation system is employing a premade installation script. The (semi)official MagicMirror_scripts repository presents this kind of script.
In https://blanchexhjd329951.ampedpages.com/detailed-notes-on-photo-booth-56433938