When I run ng serve and ng build, there are no errors. However, when I run ng build --prod
, I encounter this error. Can anyone help me fix it?
ERROR in Error during template compile of 'ToastContainer' Function calls are not supported in decorators but 'trigger' was called