【发布时间】:2023-03-08 13:18:01
【问题描述】:
我需要在日常构建中以管理员身份运行命令 npm cache clean --force。
我目前正在使用命令:
<Exec Command="npm cache clean --force" workingDirectory="$(SolutionRoot)\Angular" />
它失败并出现以下错误:
npm 错误!请尝试以 root/管理员身份再次运行此命令。
【问题讨论】:
标签: angularjs npm msbuild exec npm-cli