pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
347 stars 195 forks source 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, #158

Open itamarzil123 opened 6 years ago

itamarzil123 commented 6 years ago

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 commented 6 years ago

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

akarys92 commented 6 years ago

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

DGulshan commented 6 years ago

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

azide0x37 commented 6 years ago

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 commented 6 years ago

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

npm install --save react-16-bootstrap-date-picker
ribeiroevandro commented 6 years ago

@Laoujin Does not support TypeScript :(

sandeep666 commented 5 years ago

Still the same issue after updating

vicke4 commented 5 years ago

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 commented 5 years ago

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

omickelsen commented 5 years ago

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 commented 5 years ago

Has anybody found a solution for this?

omickelsen commented 5 years ago

yes

On Mon, Jul 15, 2019 at 6:48 PM Arash notifications@github.com wrote:

Has anybody found a solution for this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pushtell/react-bootstrap-date-picker/issues/158?email_source=notifications&email_token=AKRJH5HEDYS6JUOAKKAY65LP7ULE7A5CNFSM4FINNM72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7LQGA#issuecomment-511621144, or mute the thread https://github.com/notifications/unsubscribe-auth/AKRJH5CTKDX5P6SAUHTA7ULP7ULE7ANCNFSM4FINNM7Q .

lucidlive commented 5 years ago

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