@Assassins actually this looks like a combination of problems
You don’t use npm install to. INSTALL a module
You use git clone while the current directory is
~/MagicMirror/modules
Then change the current directory to the module folder you just cloned
THEN if there is a package.json in THAT folder do npm install there
It looks like you were in the MagicMirror folder