Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: units.toLowerCase is not a function #43

Open
cormip opened this issue Oct 3, 2017 · 2 comments
Open

TypeError: units.toLowerCase is not a function #43

cormip opened this issue Oct 3, 2017 · 2 comments

Comments

@cormip
Copy link

cormip commented Oct 3, 2017

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

@samuelmodlin
Copy link

Have you found a solution @cormip?

@cormip
Copy link
Author

cormip commented Apr 3, 2018

I ended up using the npm version of FullCalendar instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants