pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
347 stars 195 forks source link

Incompatible with React Bootstrap 1.4.0 #170

Open barbalata opened 3 years ago

barbalata commented 3 years ago

Table of Contents

Context

I tried to use the component (latest version) with React 16.13.1 and React Bootstrap 1.4.0 and I receive the following error:

./node_modules/react-16-bootstrap-date-picker/lib/index.js
Module not found: Can't resolve 'react-bootstrap/lib/Button' in '...\node_modules\react-16-bootstrap-date-picker\lib'

Possible Solution

I see that in version 1.0.0 of React Bootstrap there is no "lib" directory and all the modules are in the "react-bootstrap" directory.

Your Environment

ravibugude commented 3 years ago

Yes Facing the similar issue when updated to react-bootstrap version 1.0.0

bporter-nfuzionit commented 2 years ago

I removed the lib directory from the index in the src and the lib directory, but then I began receiving errors with _propTypes2.default.