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

Incompatible with React Bootstrap 1.4.0 #170

Open
barbalata opened this issue Jan 7, 2021 · 2 comments
Open

Incompatible with React Bootstrap 1.4.0 #170

barbalata opened this issue Jan 7, 2021 · 2 comments

Comments

@barbalata
Copy link

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

  • Version used: 5.1.2
  • Browser Name and version: Chrome 80.0.3987.149
  • Operating System and version (desktop or mobile): Windows 10
  • React Bootstrap version: 1.4.0
  • Bootstrap version: 4.5.3
  • React version: 16.13.1
@ravibugude
Copy link

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

@bporter-nfuzionit
Copy link

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

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

3 participants