After several times of trial and error, I finally can get the widget work after doing some changes.
In ShiftCalendar.jsx, append “export default” before “class ShiftCalendar extends Component”.
In CalendarContainer.jsx, change variable name “allViews” to “weekViews”.
Did your build succeed and if so did you press F4 in Mx StudioPro to refresh whatever is created on the local directory? The 'Shift Calendar’widget should be visible in MxStudio Pro when you have a webpage open.
Hm, your problem was later, when you ran the project and viewed the page. Got the same problem following the typescript version.
Tim v Steenbergen
Mendix has released a new version of this course that no longer has this error.