无法解析角度分量的参数

时间:2018-06-25 20:16:37

标签: angular

我的棱角项目突然出现一个错误。它构建良好,但对所有构造函数均失败。没来过

 constructor(
   public applicationService: ApplicationService, 
   public commonService: CommonService,
   private router: Router, 
   private _fb: FormBuilder,
   public toastr: ToastsManager, 
   private vcr: ViewContainerRef) {
     this.toastr.setRootViewContainerRef(vcr);
}
  • Angular CLI:1.6.8
  • 节点:8.11.3
  • 操作系统:win32 x64
  • 角度:5.2.4
  

未捕获的错误:无法解析BusinessComponent的所有参数:(?,?,?,?,?,?)。       在语法错误(compiler.js:485)       在CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler / esm5 / compiler.js.CompileMetadataResolver._getDependenciesMetadata(compiler.js:15699)       在CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler / esm5 / compiler.js.CompileMetadataResolver._getTypeMetadata(compiler.js:15534)       在CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler / esm5 / compiler.js.CompileMetadataResolver.getNonNormalizedDirectiveMetadata(compiler.js:15019)       在CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler / esm5 / compiler.js.CompileMetadataResolver._getEntryComponentMetadata(compiler.js:15847)       在compile.js:15828       在Array.forEach()       在CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler / esm5 / compiler.js.CompileMetadataResolver._getEntryComponentsFromProvider(compiler.js:15827)       在compile.js:15782       在Array.forEach()

0 个答案:

没有答案