Eri*_*ton 14 angular-cli angular-cli-v6
我正在转换库(ng-app-state)以使用angular cli,现在v6支持库(yay!).
尝试运行某些CLI命令时,它会失败,并显示如下错误:
$ ng test --source-map ng-app-state
Architect commands with multiple targets cannot specify overrides.'test' would be run on the following projects: ng-app-state-monorepo,ng-app-state
Error: Architect commands with multiple targets cannot specify overrides.'test' would be run on the following projects: ng-app-state-monorepo,ng-app-state
at TestCommand.validate (S:\Programming\git repositories\ng-app-state-monorepo\node_modules\@angular\cli\models\architect-command.js:91:23)
Run Code Online (Sandbox Code Playgroud)
Eri*_*ton 25
您需要先放置库名,然后再选择选项.例如
# do this
$ ng test ng-app-state --watch=true --source-map
# don't do this
$ ng test --watch=true --source-map ng-app-state
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4482 次 |
| 最近记录: |