【发布时间】:2019-03-14 15:11:35
【问题描述】:
当我跑步时
ng test --watch=false --code-coverage --no-progress
我明白了
Schema validation failed with the following errors:
Data path ".watch" should be boolean.
我已搜索但找不到此错误的匹配项。
文档 (https://github.com/angular/angular-cli/wiki/test) 明确表示 --watch=false 应该可以工作。
其他人说它有效,例如https://github.com/angular/angular-cli/issues/10711#issuecomment-387704999
我正在使用 angular/cli 6.2.4。 角度 6.1.9
有人遇到过吗?
【问题讨论】:
-
ng test --watch=false在昨天工作之前。我现在收到同样的错误。 -
CLI v6.2.4 似乎没有处理这个参数。我们去了 6.1.5,它工作正常。