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: Cannot read property 'object' of undefined ./node_modules/react-bootstrap-date-picker/lib/index.js C:/Users/itama/NodeJS/source codes/react-books-app3/node_modules/react-bootstrap-date-picker/lib/index.js:117 114 | displayName: 'DatePickerCalendar', 115 | 116 | propTypes: { > 117 | selectedDate: _react2.default.PropTypes.object, 118 | displayDate: _react2.default.PropTypes.object.isRequired, 119 | minDate: _react2.default.PropTypes.string, 120 | maxDate: _react2.default.PropTypes.string, #158

Open
itamarzil123 opened this issue Jul 5, 2018 · 13 comments

Comments

@itamarzil123
Copy link

TypeError: Cannot read property 'object' of undefined
./node_modules/react-bootstrap-date-picker/lib/index.js
C:/Users/itama/NodeJS/source codes/react-books-app3/node_modules/react-bootstrap-date-picker/lib/index.js:117
114 | displayName: 'DatePickerCalendar',
115 |
116 | propTypes: {

117 | selectedDate: _react2.default.PropTypes.object,
118 | displayDate: _react2.default.PropTypes.object.isRequired,
119 | minDate: _react2.default.PropTypes.string,
120 | maxDate: _react2.default.PropTypes.string,

@mobeloper
Copy link

I am having the same issue. I am using "react": "^16.3.2"

@akarys92
Copy link

+1 on this same issue. Is this still a supported library?

@DGulshan
Copy link

Same issue here. Did anyone find any workaround/fix?

@azide0x37
Copy link

PropTypes was removed in react 16. Downgrading to 15 would be a workaround, lol.

There is an active pull request with a fix for this issue however, with more discussion.
#133

@Laoujin
Copy link

Laoujin commented Aug 7, 2018

There is now a fork:
https://github.com/DaemonAlchemist/react-bootstrap-date-picker

npm install --save react-16-bootstrap-date-picker

@ribeiroevandro
Copy link

@Laoujin Does not support TypeScript :(

@sandeep666
Copy link

Still the same issue after updating

@vicke4
Copy link

vicke4 commented Feb 8, 2019

This fixes the issue.

npm install --save git+ssh://git@github.com:pushtell/react-bootstrap-date-picker.git

It seems the @pushtell hasn't published the package on npm.

@danobot
Copy link

danobot commented May 4, 2019

Still facing this issue on 0.32.1 (latest one downloaded by npm)

@omickelsen
Copy link

This fixes the issue.

npm install --save git+ssh://git@github.com:pushtell/react-bootstrap-date-picker.git

It seems the @pushtell hasn't published the package on npm.

what is the passphrase for the key?

@Arash1381
Copy link

Has anybody found a solution for this?

@omickelsen
Copy link

omickelsen commented Jul 16, 2019 via email

@lucidlive
Copy link

lucidlive commented Nov 21, 2019

There is now a fork:
https://github.com/DaemonAlchemist/react-bootstrap-date-picker

npm install --save react-16-bootstrap-date-picker

This worked for me using React 16.9

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