fullcalendar / fullcalendar-angular

The official Angular component for FullCalendar
https://fullcalendar.io/docs/angular
MIT License
1.07k stars 175 forks source link

Property 'isLoadingFuncs' is missing in type PluginDef #409

Closed CrazySean007 closed 2 years ago

CrazySean007 commented 2 years ago

I am using Angular 10.2.0. When I tried to follow the instructions here https://fullcalendar.io/docs/angular and modified the app.module.ts, I encountered this error:

(alias) const interactionPlugin: PluginDef
import interactionPlugin
Property 'isLoadingFuncs' is missing in type 'import("C:/Users/code/Intranet-Angular/node_modules/@fullcalendar/common/main").PluginDef' but required in type 'import("C:/Users/code/Intranet-Angular/node_modules/@fullcalendar/core/node_modules/@fullcalendar/common/main").PluginDef'.ts(2741)
main.d.ts(901, 5): 'isLoadingFuncs' is declared here.

My package.json:

{ "name": "intranet", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "build:ssr": "npm run build -- --app=ssr --output-hashing=media", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "10.2.3", "@angular/cdk": "10.2.7", "@angular/common": "10.2.3", "@angular/compiler": "10.2.3", "@angular/core": "10.2.3", "@angular/forms": "10.2.3", "@angular/localize": "^10.0.0", "@angular/material": "10.2.7", "@angular/material-moment-adapter": "10.2.7", "@angular/platform-browser": "10.2.3", "@angular/platform-browser-dynamic": "10.2.3", "@angular/platform-server": "10.2.3", "@angular/router": "10.2.3", "@fullcalendar/angular": "^5.11.0", "@fullcalendar/core": "^5.11.0", "@fullcalendar/daygrid": "^5.11.0", "@fullcalendar/interaction": "^5.3.0", "@fullcalendar/timegrid": "^5.3.0", "@kolkov/angular-editor": "1.1.4", "@microsoft/signalr": "^5.0.9", "@nguniversal/module-map-ngfactory-loader": "7.1.1", "ajv": "6.10.2", "angular-maps": "6.0.3", "animate.css": "3.7.2", "aspnet-prerendering": "3.0.1", "bingmaps": "2.0.3", "bootstrap": "4.4.1", "chart.js": "2.9.3", "core-js": "2.6.11", "date-fns": "1.30.1", "font-awesome": "4.7.0", "htmldiff-js": "^1.0.5", "jquery": "^3.5.1", "material-design-icons": "3.0.1", "material-icons": "^0.7.6", "moment": "2.24.0", "ng-packagr": "^10.0.0", "ng2-charts": "2.3.2", "ngx-mask": "8.1.6", "popper.js": "1.16.0", "rxjs": "6.5.3", "tslib": "^2.0.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.1002.0", "@angular/cli": "10.2.0", "@angular/compiler-cli": "10.2.3", "@angular/language-service": "10.2.3", "@types/jasmine": "2.8.16", "@types/jasminewd2": "2.0.8", "@types/node": "^12.11.1", "codelyzer": "^5.1.2", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.0.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "7.0.1", "tslint": "~6.1.0", "typescript": "4.0.5", "webpack-cli": "3.3.10" }, "optionalDependencies": { "node-sass": "4.9.4" } }

I checked the target file("C:/Users/code/Intranet-Angular/node_modules/@fullcalendar/common/main") and found no declaration for isLoadFuncs. Could any one please help me solve this? Any help would be appreciated!

acerix commented 2 years ago

Please refer to the support page and use Stack Overflow for help. If this is a bug, please supply a runnable, stripped-down demonstration.