C:\Users\dev1\Downloads\01_templates_install\01-templates-install\ponyracer>ng test
10% building 2/2 modules 0 active18 12 2019 09:42:29.463:WARN [karma]: No captured browser, open
http://localhost:9876/
18 12 2019 09:42:29.469:INFO [karma-server]: Karma v4.2.0 server started at
http://0.0.0.0:9876/
18 12 2019 09:42:29.469:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
18 12 2019 09:42:29.480:INFO [launcher]: Starting browser Chrome
18 12 2019 09:42:34.601:WARN [karma]: No captured browser, open
http://localhost:9876/
18 12 2019 09:42:35.051:INFO [Chrome 79.0.3945 (Windows 7.0.0)]: Connected on socket Ygff-Dkdxxt0BIRYAAAA with id 90445972
Chrome 79.0.3945 (Windows 7.0.0) AppComponent should have a title FAILED
1. If 'pr-menu' is an Angular component, then verify that it is part of this module.
2. If 'pr-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<pr-menu></pr-menu>
<div class="container" style="margin-top: 70px;">
<h1>Ponyracer</h1>
Error: Template parse errors:
'pr-menu' is not a known element:
1. If 'pr-menu' is an Angular component, then verify that it is part of this module.
2. If 'pr-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<pr-menu></pr-menu>
<div class="container" style="margin-top: 70px;">
<h1>Ponyracer</h1>
"): ng:///DynamicTestModule/AppComponent.html@0:0
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ 'pr-menu' is not a known element:
"): ng:///DynamicTestModule/AppComponent.html@0:0 ] })
at syntaxError (
http://localhost:9876/_karma_webpack...iler.js:2175:1)
at TemplateParser.parse (
http://localhost:9876/_karma_webpack...ler.js:11388:1)
at JitCompiler._parseTemplate (
http://localhost:9876/_karma_webpack...ler.js:25961:1)
at JitCompiler._compileTemplate (
http://localhost:9876/_karma_webpack...er.js:25949:61)
at
http://localhost:9876/_karma_webpack...ler.js:25893:1
at <Jasmine>
at JitCompiler._compileComponents (
http://localhost:9876/_karma_webpack...ler.js:25893:1)
at
http://localhost:9876/_karma_webpack...ler.js:25813:1
at Object.then (
http://localhost:9876/_karma_webpack...ler.js:2166:27)
at JitCompiler._compileModuleAndAllComponents (
http://localhost:9876/_karma_webpack...ler.js:25811:1)
Chrome 79.0.3945 (Windows 7.0.0): Executed 1 of 2 (1 FAILED) (0 secs / 0.051 secs)
Chrome 79.0.3945 (Windows 7.0.0) AppComponent should have a title FAILED
1. If 'pr-menu' is an Angular component, then verify that it is part of this module.
2. If 'pr-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<pr-menu></pr-menu>
<div class="container" style="margin-top: 70px;">
<h1>Ponyracer</h1>
Error: Template parse errors:
'pr-menu' is not a known element:
1. If 'pr-menu' is an Angular component, then verify that it is part of this module.
2. If 'pr-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<pr-menu></pr-menu>
<div class="container" style="margin-top: 70px;">
<h1>Ponyracer</h1>
"): ng:///DynamicTestModule/AppComponent.html@0:0
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ 'pr-menu' is not a known element:
"): ng:///DynamicTestModule/AppComponent.html@0:0 ] })
at syntaxError (
http://localhost:9876/_karma_webpack...iler.js:2175:1)
at TemplateParser.parse (
http://localhost:9876/_karma_webpack...ler.js:11388:1)
at JitCompiler._parseTemplate (
http://localhost:9876/_karma_webpack...ler.js:25961:1)
at JitCompiler._compileTemplate (
http://localhost:9876/_karma_webpack...er.js:25949:61)
at
http://localhost:9876/_karma_webpack...ler.js:25893:1
at <Jasmine>
at JitCompiler._compileComponents (
http://localhost:9876/_karma_webpack...ler.js:25893:1)
at
http://localhost:9876/_karma_webpack...ler.js:25813:1
at Object.then (
http://localhost:9876/_karma_webpack...ler.js:2166:27)
Chrome 79.0.3945 (Windows 7.0.0): Executed 2 of 2 (1 FAILED) (0.111 secs / 0.103 secs)
TOTAL: 1 FAILED, 1 SUCCESS
TOTAL: 1 FAILED, 1 SUCCESS
Partager