error cannot find symbol: class firebaseinstanceidservice android studio code example

Example 1: error TS2304: Cannot find name 'EventEmitter'.

Might be you forgot to import EventEmitter from '@angular/core'
import { Component, EventEmitter } from '@angular/core';

Example 2: error TS2304: Cannot find name 'NgForm'.

/*
The answer of this context "error TS2304: Cannot find name 'NgForm'."

There are chances of arising this error in angular when we import 'NgForm' from '@angular/forms' in .component.ts file.

To resolve this error you may have added below code line in app.module.ts file
*/

import { FormsModule } from '@angular/forms';

@NgModule({
---------------
---------------
  imports: [     
        BrowserModule,
		FormsModule
  ]
---------------
---------------
}) 

/*
I hope that it will help you.
Namaste
*/