title: Angular mat-select-autocomplete failed to compile error
body: <pre><code>Compiling mat-select-autocomplete : es2015 as esm2015
  Compiling select-autocomplete : es2015 as esm2015
  Error: Failed to compile entry-point mat-select-autocomplete (es2015 as esm2015) due to compilation errors:
  node_modules/mat-select-autocomplete/fesm2015/mat-select-autocomplete.js:310:26 - error NG1010: Value at position 3 in the NgModule.imports of SelectAutocompleteModule 
  is not a reference: [object Object]
  
  310                 imports: [
                               ~
  311                     FormsModule,
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ...
  318                     ReactiveFormsModule,
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319                 ],
      ~~~~~~~~~~~~~~~~~
  
  Error: Failed to compile entry-point select-autocomplete (es2015 as esm2015) due to compilation errors:
  node_modules/select-autocomplete/fesm2015/select-autocomplete.js:247:26 - error NG1010: Value at position 6 in the NgModule.imports of SelectAutocompleteModule is not a reference: [object Object]
  
  247                 imports: [BrowserAnimationsModule, MatFormFieldModule, MatSelectModule, FormsModule, ReactiveFormsModule,
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  248                     MatIconModule, MatCheckboxModule, MatButtonModule],
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  </code></pre>
  <p>In component.module.ts</p>
  <pre><code>import { SelectAutocompleteModule } from 'mat-select-autocomplete';
  
  </code></pre>
  <p>at NgModule</p>
  <pre><code>@NgModule({
  imports: [SelectAutocompleteModule]
  })
  
  </code></pre>
  <p>I used
  npm i mat-select-autocomplete
  npm install select-autocomplete --save</p>
  <p>after that when I run the angular I'm getting above error</p>
  <p>how to resolve it ?</p>