当我尝试使用一些标记构建我的应用程序时出错
如果我尝试用ng build
构建它,它可以工作,但如果我使用这个标志:
ng build -aot -vc -cc -dop --buildOptimize
我有这个错误:
配置' ,,'在项目&rebus-cli'中找不到。错误: 配置' ,,'在项目&rebus-cli'中找不到。 在Architect.getBuilderConfiguration(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @ angular-devkit \ architect \ src \ _ architect.js:106:23) 在MergeMapSubscriber._loadWorkspaceAndArchitect.pipe.operators_1.concatMap [作为项目] (C:\用户\ Utente \桌面\工作区\画谜\ node_modules \ @angular \ CLI \模型\建筑师command.js:64:55) 在MergeMapSubscriber._tryNext(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ operators \ mergeMap.js:122:27) 在MergeMapSubscriber._next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ operators \ mergeMap.js:112:18) 在MergeMapSubscriber.Subscriber.next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ Subscriber.js:103:18) 在TapSubscriber._next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ operators \ tap.js:109:26) 在TapSubscriber.Subscriber.next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ Subscriber.js:103:18) 在MergeMapSubscriber.notifyNext(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ operators \ mergeMap.js:141:26) 在InnerSubscriber._next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ InnerSubscriber.js:30:21) 在InnerSubscriber.Subscriber.next(c:\ Users \ Utente \ Desktop \ Workspace \ rebus \ node_modules \ @angular \ cli \ node_modules \ rxjs \ internal \ Subscriber.js:103:18)
我在angular.json
档案
答案 0 :(得分:0)
尝试使用--code-coverage
代替-cc
- 似乎......与-c
- 配置选项混合在一起。