pushtell/react-bootstrap-date-picker

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,

Opened this issue · 13 comments

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,

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

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

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

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

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

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

@Laoujin Does not support TypeScript :(

Still the same issue after updating

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.

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

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?

Has anybody found a solution for this?

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