question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng-template is not a known element

See original GitHub issue
'<ngx-datatable></ngx-datatable>' Normal use
But
<ngx-datatable>
....
<ng-template></ng-template>
....
</ngx-datatable>
Error debug:

'ng-template' is not a known element.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
preservance717commented, Mar 29, 2017

where is Angular4

2reactions
savvasalcommented, Mar 20, 2017

@TINITUS how does it work to you? 😒

I just upgrade to 6.3 "@angular/common": "^2.4.0", "@swimlane/ngx-datatable": "^6.3.0"

and it still to return the same error,

'ng-template' is not a known element:

Cheers 🍺

edit: Used <template> instead of <ng-template> and works fine !

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - If 'ng-template' is a Web Component then add ...
Somewhere in your code has to be an <ng-template> . Can you try using grep or similar tools to find where this element...
Read more >
'ng-template' is not a known element: · Issue #2333 - GitHub
I am getting the below error. 'ng-template' is not a known element: package.json. "primeng": "^2.0.4",
Read more >
How to fix Template parse errors: <component> is not a known ...
A solution for Angular tests when they fail with "Template parse errors: is not a known element"
Read more >
ng-template - Angular
Angular's <ng-template> element defines a template that is not rendered by ... With <ng-template> , you can define template content that is only...
Read more >
Angular ng-template, ng-container and ngTemplateOutlet
This is a Complete Guide To Angular Templates: it covers ng-template, ng-container, the ngTemplateOutlet structural directive, and more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found