meteor-fullcalendar icon indicating copy to clipboard operation
meteor-fullcalendar copied to clipboard

TypeError: units.toLowerCase is not a function

Open cormip opened this issue 7 years ago • 2 comments

Error dump is below. Perhaps the issue is the old version of momentjs your package installs, when I already have momentjs 2.18.1 installed from npm?

TypeError: units.toLowerCase is not a function at normalizeUnits (http://localhost:3000/packages/momentjs_moment.js?hash=76d88106d32bc66d1746f0b021b152e1edcdd15d:638:33) at Moment.set (http://localhost:3000/packages/momentjs_moment.js?hash=76d88106d32bc66d1746f0b021b152e1edcdd15d:2574:21) at Moment.newMomentProto.stripTime (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:1335:8) at members.constructor.normalizeCurrentRange (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:10642:16) at members.constructor.buildCurrentRangeInfo (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:10627:8) at members.constructor.buildDateProfile (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:10557:22) at constructor.updateToolbarButtons (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:12450:24) at members.constructor.executeDateRender (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:9618:17) at http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:9531:10 at constructor.runTaskFunc (http://localhost:3000/packages/rzymek_fullcalendar.js?hash=b21f2ed094a6dfe021d6208c2878dc0d136d713f:2401:13) undefined

cormip avatar Oct 03 '17 20:10 cormip

Have you found a solution @cormip?

samuelmodlin avatar Apr 03 '18 05:04 samuelmodlin

I ended up using the npm version of FullCalendar instead.

cormip avatar Apr 03 '18 13:04 cormip