Skip to content

EmmanuelDemey/Common-Angular2-Errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Common Angular2 Errors

Table 1. Angular2 Errors
Error Signification

Template parse errors: The pipe 'myPipe' could not be found

If you use a pipe in a template, you should define this one as a dependency for the component, thanks to the pipes property of the @Component decorator.

Can’t bind to 'routerLink' since it isn’t a known native property

If you use a directive/component in a template, you should define this one as a dependency for the component, thanks to the directives property of the @Component decorator.

Uncaught SyntaxError: Unexpected token <

You possibly imported a file with its .ts extension, leading to it not being loaded during runtime and being replaced by your index.html, causing the syntax error.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published