执行Grunt时MSBuild失败

时间:2019-01-07 12:10:45

标签: npm visual-studio-2017 npm-scripts

我有以下项目定义片段

 <Target Name="PrecompileScript" BeforeTargets="BeforeBuild">
    <Exec Command="npm install --python=python2.7" />
    <Exec Command="npm config set python python2.7" />
    <Exec Command="npm install -g grunt-cli" />
   <Exec Command="grunt" /> 
  </Target>

在执行lass命令grunt时构建失败。如果删除命令,则grunt项目将成功构建。为什么需要最后一个命令的咕?声?

0 个答案:

没有答案
相关问题