\'CALL \"C:\\Program Files\\nodejs\\node.exe\" \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js\" prefix -g\' is not recognized as an internal or external com
I had the same issue. Mine also printed this issue.
error file C:\Windows\system32\cmd.exe;
seems I screwed up my comSpec in my environmental variables. The ";" at the end of that line was causing the error.