javascript - Kendo UI'de 'AppModule' modülü tarafından beklenmeyen değer 'DecoratorFactory' içe aktarıldı


Bir Angular/Kendo UI projesi başlatmaya çalışıyorum ama tarayıcı konsolda bana şu hatayı veriyor:

Error: Unexpected value 'DecoratorFactory' imported by the module 'AppModule'. Please add a @NgModule annotation.

(derleme sırasında CLI'de herhangi bir hata yok, sadece çalıştırma zamanında)



Bu benim app.module.ts dosyam:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule, Injectable } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { TabModule } from 'angular-tabs-component';
import { HttpClient, HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { NotificationModule } from '@progress/kendo-angular-notification';
import { FormsModule } from '@angular/forms';
import { GridModule } from '@progress/kendo-angular-grid';
import { LayoutModule } from '@progress/kendo-angular-layout';
import { ToolBarModule } from '@progress/kendo-angular-toolbar';
import { DialogModule } from '@progress/kendo-angular-dialog';
import { EditService } from './edit.service';
import { ReactiveFormsModule } from '@angular/forms';
import { GridEditFormComponent } from './edit-form.component';

@NgModule({
  imports:      [ BrowserModule, BrowserAnimationsModule, AppRoutingModule, TabModule, HttpClientModule, HttpClientJsonpModule, FormsModule, GridModule, NotificationModule,
    Injectable, LayoutModule, ToolBarModule, DialogModule, EditService, ReactiveFormsModule, GridEditFormComponent ],
  declarations: [ AppComponent ],
  bootstrap:    [ AppComponent ]

})

export class AppModule { }

NgModule'yi içe aktarmam gerekiyordu, aksi takdirde @NgModule arayüz bildirimi bana bu hatayı veriyor:

Cannot find name 'NgModule'. Did you mean 'module'?

Not: Bu, bu sorunun tekrarı değildir (talimatları izledim ama bu hatayı düzeltmedi).