There is no directive with “exportAs” set to “ngForm”

It was node_module’s error.

I have just updated the node packages and it’s working. Because @angular/core was not importing properly.

So, for that I have install typescript package in sublime-3 and after install it was showing error in,

import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule , FormGroup} from '@angular/forms';

So, It was some problem while fetching node files.

Leave a Comment