- I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[x] Test error
Thanks for your dnd library.
If run test by "npm run test", I got the three errors.
It makes error my project too.
How to fix it?
Connected on socket Yqctxoaoa9XBuiSLAAAA with id 43035665 Chrome 56.0.2924 (Windows 7 0.0.0) AppComponent should create the app FAILED
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("
- <a class="navbar-link" [ERROR ->][routerLink]="['/']">Home
- <a class="navbar-l"): AppComponent@4:71 Can't bind to 'routerLink' since it isn't a known property of 'a'. ("rLink]="['/']">Home
- <a class="navbar-link" [ERROR ->][routerLink]="['/toasty']">Toasty
- <a class=""): AppComponent@5:71 Can't bind to 'routerLink' since it isn't a known property of 'a'. ("['/toasty']">Toasty
- <a class="navbar-link" [ERROR ->][routerLink]="['/dnd']">Drag-and-Drop
- <a cla"): AppComponent@6:71 Can't bind to 'routerLink' since it isn't a known property of 'a'. ("nd']">Drag-and-Drop
- <a class="navbar-link" [ERROR ->][routerLink]="['/slim']">Slim Loading Bar
"): AppComponent@7:71 'router-outlet' is not a known element: 1. If 'router-outlet' is an Angular component, then verify that it is part of this module. 2. If 'router-outlet' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->] "): AppComponent@13:0 'ng2-slim-loading-bar' is not a known element: 1. If 'ng2-slim-loading-bar' is an Angular component, then verify that it is part of this module. 2. If 'ng2-slim-loading-bar' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->]"): AppComponent@14:0 Error: Template parse errors: at SyntaxError.ZoneAwareError (webpack:///
/zone.js/dist/zone.js:811:0 <- src/test.ts:80939:33) at SyntaxError.BaseError [as constructor] (webpack:////@angular/compiler/src/facade/errors.js:22:0 <- src/test.ts:63100:16) at new SyntaxError (webpack:///
/@angular/compiler/src/util.js:151:0 <- src/test.ts:5422:16) at TemplateParser.parse (webpack:////@angular/compiler/src/template_parser/template_parser.js:140:0 <- src/test.ts:17786:19) at JitCompiler._compileTemplate (webpack:///
/@angular/compiler/src/jit/compiler.js:362:25 <- src/test.ts:44755:68) at webpack:////@angular/compiler/src/jit/compiler.js:245:47 <- src/test.ts:44638:62 at Set.forEach (native) at JitCompiler._compileComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:245:0 <- src/test.ts:44638:19) at createResult (webpack:////@angular/compiler/src/jit/compiler.js:147:0 <- src/test.ts:44540:19) at JitCompiler._compileModuleAndAllComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:151:0 <- src/test.ts:44544:88) at JitCompiler.compileModuleAndAllComponentsSync (webpack:////@angular/compiler/src/jit/compiler.js:98:0 <- src/test.ts:44491:21)
at TestingCompilerImpl.compileModuleAndAllComponentsSync (webpack:///
/@angular/compiler/bundles/compiler-testing.umd.js:482:0 <- src/test.ts:62771:35)
at TestBed._initIfNeeded (webpack:////@angular/core/bundles/core-testing.umd.js:770:0 <- src/test.ts:21855:40)
at TestBed.createComponent (webpack:///
/@angular/core/bundles/core-testing.umd.js:853:0 <- src/test.ts:21938:18)
at Function.TestBed.createComponent (webpack:////@angular/core/bundles/core-testing.umd.js:682:0 <- src/test.ts:21767:33)
Chrome 56.0.2924 (Windows 7 0.0.0) AppComponent should have as title 'app works!' FAILED
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("
- <a class="navbar-link" [ERROR ->][routerLink]="['/']">Home
- <a class="navbar-l"): AppComponent@4:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("rLink]="['/']">Home
- <a class="navbar-link" [ERROR ->][routerLink]="['/toasty']">Toasty
- <a class=""): AppComponent@5:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("['/toasty']">Toasty
- <a class="navbar-link" [ERROR ->][routerLink]="['/dnd']">Drag-and-Drop
- <a cla"): AppComponent@6:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("nd']">Drag-and-Drop
- <a class="navbar-link" [ERROR ->][routerLink]="['/slim']">Slim Loading Bar
"): AppComponent@7:71
'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is part of this module.
2. If 'router-outlet' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]
"): AppComponent@13:0
'ng2-slim-loading-bar' is not a known element:
1. If 'ng2-slim-loading-bar' is an Angular component, then verify that it is part of this module.
2. If 'ng2-slim-loading-bar' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]"): AppComponent@14:0
Error: Template parse errors:
at SyntaxError.ZoneAwareError (webpack:///
/zone.js/dist/zone.js:811:0 <- src/test.ts:80939:33)
at SyntaxError.BaseError [as constructor] (webpack:////@angular/compiler/src/facade/errors.js:22:0 <- src/test.ts:63100:16)
at new SyntaxError (webpack:///
/@angular/compiler/src/util.js:151:0 <- src/test.ts:5422:16)
at TemplateParser.parse (webpack:////@angular/compiler/src/template_parser/template_parser.js:140:0 <- src/test.ts:17786:19)
at JitCompiler._compileTemplate (webpack:///
/@angular/compiler/src/jit/compiler.js:362:25 <- src/test.ts:44755:68)
at webpack:////@angular/compiler/src/jit/compiler.js:245:47 <- src/test.ts:44638:62
at Set.forEach (native)
at JitCompiler._compileComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:245:0 <- src/test.ts:44638:19)
at createResult (webpack:////@angular/compiler/src/jit/compiler.js:147:0 <- src/test.ts:44540:19)
at JitCompiler._compileModuleAndAllComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:151:0 <- src/test.ts:44544:88)
at JitCompiler.compileModuleAndAllComponentsSync (webpack:////@angular/compiler/src/jit/compiler.js:98:0 <- src/test.ts:44491:21)
at TestingCompilerImpl.compileModuleAndAllComponentsSync (webpack:///
/@angular/compiler/bundles/compiler-testing.umd.js:482:0 <- src/test.ts:62771:35)
at TestBed._initIfNeeded (webpack:////@angular/core/bundles/core-testing.umd.js:770:0 <- src/test.ts:21855:40)
at TestBed.createComponent (webpack:///
/@angular/core/bundles/core-testing.umd.js:853:0 <- src/test.ts:21938:18)
at Function.TestBed.createComponent (webpack:////@angular/core/bundles/core-testing.umd.js:682:0 <- src/test.ts:21767:33)
Chrome 56.0.2924 (Windows 7 0.0.0) AppComponent should render title in a h1 tag FAILED
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("
- <a class="navbar-link" [ERROR ->][routerLink]="['/']">Home
- <a class="navbar-l"): AppComponent@4:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("rLink]="['/']">Home
- <a class="navbar-link" [ERROR ->][routerLink]="['/toasty']">Toasty
- <a class=""): AppComponent@5:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("['/toasty']">Toasty
- <a class="navbar-link" [ERROR ->][routerLink]="['/dnd']">Drag-and-Drop
- <a cla"): AppComponent@6:71
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("nd']">Drag-and-Drop
- <a class="navbar-link" [ERROR ->][routerLink]="['/slim']">Slim Loading Bar
"): AppComponent@7:71
'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is part of this module.
2. If 'router-outlet' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]
"): AppComponent@13:0
'ng2-slim-loading-bar' is not a known element:
1. If 'ng2-slim-loading-bar' is an Angular component, then verify that it is part of this module.
2. If 'ng2-slim-loading-bar' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]"): AppComponent@14:0
Error: Template parse errors:
at SyntaxError.ZoneAwareError (webpack:///
/zone.js/dist/zone.js:811:0 <- src/test.ts:80939:33)
at SyntaxError.BaseError [as constructor] (webpack:////@angular/compiler/src/facade/errors.js:22:0 <- src/test.ts:63100:16)
at new SyntaxError (webpack:///
/@angular/compiler/src/util.js:151:0 <- src/test.ts:5422:16)
at TemplateParser.parse (webpack:////@angular/compiler/src/template_parser/template_parser.js:140:0 <- src/test.ts:17786:19)
at JitCompiler._compileTemplate (webpack:///
/@angular/compiler/src/jit/compiler.js:362:25 <- src/test.ts:44755:68)
at webpack:////@angular/compiler/src/jit/compiler.js:245:47 <- src/test.ts:44638:62
at Set.forEach (native)
at JitCompiler._compileComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:245:0 <- src/test.ts:44638:19)
at createResult (webpack:////@angular/compiler/src/jit/compiler.js:147:0 <- src/test.ts:44540:19)
at JitCompiler._compileModuleAndAllComponents (webpack:///
/@angular/compiler/src/jit/compiler.js:151:0 <- src/test.ts:44544:88)
at JitCompiler.compileModuleAndAllComponentsSync (webpack:////@angular/compiler/src/jit/compiler.js:98:0 <- src/test.ts:44491:21)
at TestingCompilerImpl.compileModuleAndAllComponentsSync (webpack:///
/@angular/compiler/bundles/compiler-testing.umd.js:482:0 <- src/test.ts:62771:35)
at TestBed._initIfNeeded (webpack:////@angular/core/bundles/core-testing.umd.js:770:0 <- src/test.ts:21855:40)
at TestBed.createComponent (webpack:///
/@angular/core/bundles/core-testing.umd.js:853:0 <- src/test.ts:21938:18)
at Function.TestBed.createComponent (webpack:////@angular/core/bundles/core-testing.umd.js:682:0 <- src/test.ts:21767:33)
Chrome 56.0.2924 (Windows 7 0.0.0): Executed 3 of 3 (3 FAILED) ERROR (0.469 secs / 0.22 secs)