小编Sco*_*son的帖子

Angular CLI 6 覆盖 --watch=false 返回错误

当我跑步时

ng test --watch=false --code-coverage --no-progress
Run Code Online (Sandbox Code Playgroud)

我明白了

Schema validation failed with the following errors:
  Data path ".watch" should be boolean.
Run Code Online (Sandbox Code Playgroud)

我进行了搜索,但找不到此错误的命中结果。

文档(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

有人遇到过这种情况吗?

angular angular-cli-v6

5
推荐指数
2
解决办法
4532
查看次数

标签 统计

angular ×1

angular-cli-v6 ×1