Using a Polymer Ui Library whichs uses custom webcomponenets, when i am using this with Angular universal getting below error on build.

Version: @webcomponents/webcomponentsjs": "^2.8.0" Angular : 11.x @polymer/polymer": "^3.5.1"
Want to run polymer UI in angular ssr without issues