Skip to content

Incompatible with React Bootstrap 1.4.0 #170

@barbalata

Description

@barbalata

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions