I keep getting this error while using TypeScript\'s Angular2-forms framework:
There is no directive with \"exportAs\" set to \"ngForm
directive
I had the same issue and solved it by updating all dependencies (package.json) with the following command npm update -D && npm update -S
npm update -D && npm update -S
As @Günter Zöchbauer pointed out, make sure to include the FormsModule first.