I need to run the command npm cache clean --force
as admin in my daily builds.
I am currently using the command:
<Exec Command="npm cache clean --force" workingDirectory="$(SolutionRoot)\Angular" />
and it fails with the following error:
npm ERR! Please try running this command again as root/Administrator.