I keep getting this error while using TypeScript\'s Angular2-forms framework:
There is no
directivewith \"exportAs\" set to \"ngForm
In my case I had to remove the ngNoForm attribute from my tag.
If you you want to import FormsModule in your application but want to skip a specific form, you can use the ngNoForm directive which will prevent ngForm from being added to the form
Reference: https://www.techiediaries.com/angular-ngform-ngnoform-template-reference-variable/