You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run npm build i am getting this following type of errors at all the places where i have use primeNG component, but i have properly imported the component and also added the CUSTOM_ELEMENTS_SCHEMA
Error: src/app/component/op/reports/receipts/receipt.component.html:8:13 - error NG8001: 'p-button' is not a known element:
If 'p-button' is an Angular component, then verify that it is part of this module.
If 'p-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
8
Note:- The error i am getting is in azure pipeline and it's not happening when i run it locally.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using primeNG v17.x
When I try to run npm build i am getting this following type of errors at all the places where i have use primeNG component, but i have properly imported the component and also added the CUSTOM_ELEMENTS_SCHEMA
Error: src/app/component/op/reports/receipts/receipt.component.html:8:13 - error NG8001: 'p-button' is not a known element:
8
Note:- The error i am getting is in azure pipeline and it's not happening when i run it locally.
Beta Was this translation helpful? Give feedback.
All reactions