Question: error in 'p-toast' is not a known element?
Answer: p-toast is not a known element This is a common error that happens for every developer during angular coding. p-toast component element is used in the HTML template, the element is not able to recognize.