@N6NG further the instructions said
NEVER EVER do this (npm init ) in the MagicMirror folder
if you do/did, then do
git checkout package.json
to restore the package.json file
I guess I need to add more words
if you DID do npm init -y IN THE MagicMirror folder
then you need to fix this. do
cd ~/MagicMirror
git checkout pakckage.json
then go back to the module folder
cd -
an resume the fix instructions
then go