サーブNGやったとき、誰もが、なぜそれが来ているか、どのように私はそれをNGのバージョンの不一致エラーを取得する
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DashboardComponent } from './dashboard.component';
import { RouterModule } from '@angular/router';
import { LineChartComponent } from './line-chart/line-chart.component';
import { BarChartComponent } from './bar-chart/bar-chart.component';
import {MatCheckboxModule,MatFormFieldModule} from '@angular/material';
export const routes = [
{path:'',component:DashboardComponent},
]
@NgModule({
imports: [
CommonModule,
RouterModule.forChild(routes),MatCheckboxModule, MatFormFieldModule
],
declarations: [DashboardComponent, LineChartComponent, BarChartComponent]
})
export class DashboardModule { }
これを解決することができます教えてもらえます私はこの
ERROR in Metadata version mismatch for module /home/abhishek/projects/themeBootstrap4/node_modules/@angular/material/core/typings/index.d.ts,
found version 4, expected 3,resolving symbol DashboardModule in /home/abhishek/projects/themeBootstrap4/src/app/pages/dashboard/dashboard.module.ts,
resolving symbol DashboardModule in /home/abhishek/projects/themeBootstrap4/src/app/pages/dashboard/dashboard.module.ts
のようなエラーを取得していますを提供私のダッシュボードモジュール
あなたの 'package.json'ファイルも追加できますか? –