react-bootstrap-validation icon indicating copy to clipboard operation
react-bootstrap-validation copied to clipboard

Doesn't work with create-react-app

Open zeachco opened this issue 9 years ago • 1 comments

Just importing it fails reproducible: always Uncaught TypeError: Super expression must either be null or a function, not undefined

example :

npm i -g create-react-app
create-react-app example
cd example
npm start

works as expected

then do npm i -S react-bootstrap-validation

and modify the src/index.js adding just the import

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import {Form, ValidatedInput} from 'react-bootstrap-validation'; // <--- this breaks

ReactDOM.render(
  <App />,
  document.getElementById('root')
);

zeachco avatar Aug 15 '16 00:08 zeachco

i get the same and im not on a create-react-app

th3fallen avatar Aug 21 '16 01:08 th3fallen