Angular 未找到模块:错误:Can';t解决';ng fullcalendar';

Angular 未找到模块:错误:Can';t解决';ng fullcalendar';,angular,Angular,我安装了ng fullcalendar和fullcalendar,但在app.module.ts中导入fullcalendar模块时,错误显示“找不到模块:错误:无法解析“ng fullcalendar” 从'@angular/platform browser'导入{BrowserModule}; 从“@angular/core”导入{NgModule}; 从“/event.service”导入{EventService}; 从“./app.component”导入{AppComponent}

我安装了ng fullcalendar和fullcalendar,但在app.module.ts中导入fullcalendar模块时,错误显示“找不到模块:错误:无法解析“ng fullcalendar”

从'@angular/platform browser'导入{BrowserModule};
从“@angular/core”导入{NgModule};
从“/event.service”导入{EventService};
从“./app.component”导入{AppComponent};
从'@angular/forms'导入{FormsModule};
从“ng fullcalendar”导入{FullCalendarModule};
@NGD模块({
声明:[
应用组件
],
进口:[
浏览器模块,
FormsModule,
完整日历模块
],
提供者:[EventService],
引导:[AppComponent]
})

导出类AppModule{}
尝试使用
npm安装--save ng安装模块-fullcalendar@latest
模块未正确保存。我这样做了,我的模块正常运行。 还加

“@fullcalendar/core”:“^4.0.1”,
“@fullcalendar/daygrid”:“^4.0.1”,
“@fullcalendar/interaction”:“^4.0.1”,


到您的
package.json
并运行
npm安装
&&“ng serve”。你会没事的

你有facebook吗?package.json太长了,编辑器不允许我发布package.json文件