Uncaught TypeError: Cannot read property 'isHiddenDay' of undefined
See original GitHub issueI’ve created a Svelte implementation of FullCalendar and I have issues upgrading to v5.
I use rollup as my builder and a postcss plugin for the styles, and tried to follow this guide.
I try to initialize the calendar with these options:
let options = {
initialView: 'dayGridMonth',
plugins: [dayGridPlugin],
};
This is what I get in the browser’s console:
main.js:8102 Uncaught TypeError: Cannot read property 'isHiddenDay' of undefined
at new DaySeriesModel (main.js:8102)
at DayTableView.buildDayTableModel (main.js:1080)
at DayTableView.buildDayTableModel (main.js:983)
at DayTableView.render (main.js:1069)
at T (preact.module.js:1)
at g (preact.module.js:1)
at j (preact.module.js:1)
at T (preact.module.js:1)
at g (preact.module.js:1)
at T (preact.module.js:1)
- This is the component implementation.
- I can’t actually upload a live demo since I need a postcss plugin to handle the css-in-js.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:30 (5 by maintainers)
Top Results From Across the Web
Fullcalendar - Cannot read property 'DayGrid' of undefined
I haven't found a solution, on any site. Please help! The full error message is: Uncaught TypeError: Cannot read property 'DayGrid' of ...
Read more >[FullCalendar 2] [FullCalendar2] Error "Cannot read property ...
I'm receiving this error and calendar is not showing: "Cannot read property 'getUTCFullYear' of null". They already find a quick solution for reactive....
Read more >fullCalendar - getting error on page load - MDBootstrap
Actual behavior When I add references to the plugin, I get fullcalendar.min.js:30 Uncaught TypeError: Cannot read property 'fn' of undefined at Object.
Read more >Some issues with the calendar | WordPress.org
Hi I have set 24 hour clock on the setting page but in the calendar still ... Uncaught TypeError: Cannot read properties of...
Read more >Typeerror: Cannot Read Property 'Resourceareawidth' Of ...
Uncaught TypeError : Cannot read property 'isHiddenDay' of undefined. I've created a Svelte implementation of FullCalendar and I have issues upgrading to v5....
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
I have some more insight into the problem. For some reason, when installing
@fullcalendar/core
and the plugins, npm is not deduping@fullcalendar/common
. Sometimes there are multiple copies of it, nested within fullcalendar’s other dependencies.@YogliB I was able to clone your repro and reproduce the error. When I reinstalled the deps, making a new lock file, things began to work:
I’m not sure why. I bet that trick will work for others.
I have got exact the same issue,(Cannot read property ‘isHiddenDay’ of undefined) so i searched and ended up here. then I realized that there wasn’t any “@fullcalendar/timegrid”: “^5.1.0”, in my package.json even I installed with npm install @fullcalendar/timegrid. so then I installed with npm install --save @fullcalendar/timegrid (with --save) and made sure that it’s in package.json dependencies, that eventually solved problem.