-
Notifications
You must be signed in to change notification settings - Fork 56
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
Cannot read property 'object' of undefined #37
Comments
Encountered with same issue. Looking forward! |
I am getting the same error. Any updates? |
@KatyORourkee Nope! I just improvised by using jquery plugin and injecting jquery code in my components. |
I've peered into the library and it seems it's using the (previously deprecated, now deleted) React.PropTypes module. |
Got this immediately on using this library. Would definitely want this fixed to use this library |
Same issue for me, looking into changing libraries. |
CalendarDay.propTypes = { These are the propTypes the library is expecting and day is required. |
Got same issue upon immediately using the library. |
Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at Object. (/Users/graeme/Next/rainbow_recovery_next/node_modules/react-event-calendar/dist-modules/components/CalendarDay.js:76:36)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/Users/graeme/Next/rainbow_recovery_next/node_modules/react-event-calendar/dist-modules/index.js:19:20)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
The text was updated successfully, but these errors were encountered: