Module '"@fullcalendar/core"' has no exported member 'CalendarOptions'
See original GitHub issueHi,
I’ve just followed the installation guide for Angular: https://fullcalendar.io/docs/angular
I’m using Angular 8 with Universal in my project.
When I run ng serve
I get a whole bunch of error messages that look Typescript related. Here are just some of them:
These are my package.json
dependencies:
"dependencies": {
"@angular-devkit/core": "8.3.21",
"@angular-devkit/schematics": "8.3.21",
"@angular/animations": "8.2.9",
"@angular/cdk": "~8.2.3",
"@angular/common": "8.2.9",
"@angular/compiler": "8.2.9",
"@angular/core": "8.2.9",
"@angular/fire": "5.2.1",
"@angular/forms": "8.2.9",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "8.2.9",
"@angular/platform-browser-dynamic": "8.2.9",
"@angular/platform-server": "8.2.9",
"@angular/router": "8.2.9",
"@fullcalendar/angular": "^5.1.0",
"@fullcalendar/core": "4.3.1",
"@fullcalendar/daygrid": "^4.3.0",
"@fullcalendar/interaction": "4.3.0",
"@nguniversal/express-engine": "8.2.6",
"@nguniversal/module-map-ngfactory-loader": "v8.2.6",
"@swimlane/ngx-datatable": "16.0.2",
"@tinymce/tinymce-angular": "^3.3.1",
"@types/mixpanel-browser": "^2.23.2",
"algoliasearch": "^3.35.1",
"angular-instantsearch": "^3.0.0-beta.4",
"angular2-multiselect-dropdown": "4.6.3",
"bs-stepper": "1.7.0",
"chart.js": "2.8.0",
"core-js": "3.2.1",
"country-flag-emoji": "^1.0.3",
"d3-scale": "3.1.0",
"devextreme": "19.1.6",
"devextreme-angular": "19.1.6",
"express": "^4.15.2",
"firebase": "^7.2.3",
"fullcalendar": "3.10.1",
"hammerjs": "^2.0.8",
"instantsearch.js": "^4.3.0",
"jw-bootstrap-switch-ng2": "2.0.5",
"mixpanel-browser": "^2.30.1",
"ng-recaptcha": "^5.0.0",
"ngx-bootstrap": "5.1.2",
"ngx-toastr": "11.1.0",
"node-fetch": "^2.6.0",
"nouislider": "14.0.2",
"perfect-scrollbar": "1.4.0",
"rxjs": "6.5.3",
"stream": "0.0.2",
"sweetalert2": "8.18.1",
"tslib": "1.10.0",
"videogular2": "^7.0.1",
"zone.js": "0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.22",
"@angular/cli": "^8.3.22",
"@angular/compiler-cli": "8.2.9",
"@angular/language-service": "8.2.9",
"@types/algoliasearch": "^3.34.10",
"@types/core-js": "^2.5.3",
"@types/express": "^4.17.0",
"@types/jasmine": "3.4.2",
"@types/jasminewd2": "2.0.8",
"@types/node": "12.7.11",
"@types/stripe-checkout": "^1.0.3",
"@types/stripe-v3": "^3.1.15",
"bufferutil": "^4.0.1",
"codelyzer": "5.1.2",
"jasmine-core": "3.5.0",
"jasmine-spec-reporter": "4.2.1",
"karma": "4.3.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "2.1.0",
"karma-jasmine": "2.0.1",
"karma-jasmine-html-reporter": "1.4.2",
"protractor": "5.4.2",
"ts-loader": "^5.2.0",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"typescript": "3.5.3",
"utf-8-validate": "^5.0.2",
"webpack-cli": "^3.1.0",
"ws": "^7.2.1",
"xhr2": "^0.2.0"
}
Any ideas what’s gone wrong? Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
fullcalendar'' has no exported member 'Options'.- getting error ...
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules. Fullcalendar has been updated 3.8.0 but you need 3.7.0.
Read more >How to implement FullCalendar in Angular 9/10 ? - Therichpost
The main purpose of making this post is fullcalendar has been updated to version 5. Therichpost ... has no exported member 'CalendarOptions.
Read more >FullCalendar - Module not found - Prime Community Forum
You have to assign an own options-object. You have to import at least the "@fullcalendar/core/main.css" to your css-file. Than it is still not ......
Read more >Angular Component - Docs - FullCalendar
FullCalendar seamlessly integrates with the Angular 12 - 15. ... app.component.scss'] }) export class AppComponent { calendarOptions: CalendarOptions ...
Read more >@fullcalendar/common | Yarn - Package Manager
... FIX: minify CSS that is embedded into JS files; FIX: more informational README files in published packages; FIX: daygrid events sometimes not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good afternoon, the rest of @fullcalendar packages are in version 4.3, update: your package.json “@ fullcalendar / angular”: “^ 5.1.0”, “@ fullcalendar / core”: “4.3.1”,-> “^ 5.1.0” “@ fullcalendar / daygrid”: “^ 4.3.0”,-> “^ 5.1.0” “@ fullcalendar / interaction”: “4.3.0”,-> “^ 5.1.0”
how can i solve the problem guys ? of angular calendar multiple errors of An accessor cannot be declared in an ambient context , any solution ?