techiediaries / angular-web-component-demo

Angular Web Component Demo
6 stars 12 forks source link

Error app-root did not match any elements #10

Open tommykjensen opened 3 years ago

tommykjensen commented 3 years ago

I tried to run the generated web component and get following error in the console log twice:

news-widget.js:5 ERROR Error: The selector "app-root" did not match any elements at Hc.selectRootElement (news-widget.js:5) at Vs (news-widget.js:5) at to (news-widget.js:5) at Ji (news-widget.js:5) at Object.yo [as createRootView] (news-widget.js:5) at ri.create (news-widget.js:5) at Ct.create (news-widget.js:5) at e.bootstrap (news-widget.js:5) at news-widget.js:5 at Array.forEach ()

the component actually do work but these kind of errors I would like to get rid of. Not sure why this error occurs.

harmeetsingh17 commented 2 years ago

facing the same issue. @tommykjensen found any solution ??

tommykjensen commented 2 years ago

facing the same issue. @tommykjensen found any solution ??

I think I just dropped this and moved on.