具有多个目标的Architect命令不能指定替代。'lint'将在以下项目上运行:fdt-prototype,fdt-prototype-e2e

时间:2019-05-09 10:20:55

标签: angular7 tslint

当我使用--format = json执行ng lint时,命令不会执行。

我尝试  ng lint --format = json

Architect commands with multiple targets cannot specify overrides.'lint' would be run on the following projects: fdt-prototype,fdt-prototype-e2e
Error: Architect commands with multiple targets cannot specify overrides.'lint' would be run on the following projects: fdt-prototype,fdt-prototype-e2e
    at LintCommand.validate (/home/ke/Front-Analyse/node_modules/@angular/cli/models/architect-command.js:83:23)
    at Object.<anonymous> (/home/ke/Front-Analyse/node_modules/@angular/cli/models/command-runner.js:145:43)
    at Generator.next (<anonymous>)
    at fulfilled (/home/ke/Front-Analyse/node_modules/@angular/cli/models/command-runner.js:11:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:695:11)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

0 个答案:

没有答案