No directive found with exportAs 'ngModule'. code example
Example: no directive found with exportas 'ngmodel' angular 10
Check that you have imported the component itself for which you are trying to use the form.
Check that you have imported the component itself for which you are trying to use the form.