title: React-Bootstrap: TypeError: Unable to get property 'bool' of undefined or null reference
body: <p>I'm having a look at the componentes from <a href="https://react-bootstrap.github.io/components.html" rel="nofollow noreferrer">React-Bootstrap</a>, and I'm trying to test one of the forms:</p>
  
  <pre><code>import React, { Component, PropTypes } from 'react';
  import ReactDOM from 'react-dom';
  import { Form, FormGroup, Col, FormControl, Checkbox, ControlLabel, Button } from "react-bootstrap";
  
  export default class LoginForm extends React.Component {
      render() {
          return (
              &lt;div class="row content"&gt;
                  &lt;Form horizontal&gt;
                      &lt;FormGroup controlId="formHorizontalEmail"&gt;
                          &lt;Col componentClass={ControlLabel} sm={2}&gt;
                              Email
                    &lt;/Col&gt;
                          &lt;Col sm={10}&gt;
                              &lt;FormControl type="email" placeholder="Email" /&gt;
                          &lt;/Col&gt;
                      &lt;/FormGroup&gt;
  
                      &lt;FormGroup controlId="formHorizontalPassword"&gt;
                          &lt;Col componentClass={ControlLabel} sm={2}&gt;
                              Password
                    &lt;/Col&gt;
                          &lt;Col sm={10}&gt;
                              &lt;FormControl type="password" placeholder="Password" /&gt;
                          &lt;/Col&gt;
                      &lt;/FormGroup&gt;
  
                      &lt;FormGroup&gt;
                          &lt;Col smOffset={2} sm={10}&gt;
                              &lt;Checkbox&gt;Remember me&lt;/Checkbox&gt;
                          &lt;/Col&gt;
                      &lt;/FormGroup&gt;
  
                      &lt;FormGroup&gt;
                          &lt;Col smOffset={2} sm={10}&gt;
                              &lt;Button type="submit"&gt;
                                  Sign in
                      &lt;/Button&gt;
                          &lt;/Col&gt;
                      &lt;/FormGroup&gt;
                  &lt;/Form&gt;
              &lt;/div&gt;
          );
      }
  
  }
  </code></pre>
  
  <p>Everything seems ok, except for the fact that I get this absurd error everytime that I try to use something from react-bootstrap:</p>
  
  <pre><code>TypeError: Unable to get property 'bool' of undefined or null reference
  ./node_modules/react-bootstrap/lib/PanelGroup.js
  E:/Insanity/Web/segui_info/node_modules/react-bootstrap/lib/PanelGroup.js:25
    22 | 
    23 | var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
    24 | 
  &gt; 25 | var PanelGroup = _react2['default'].createClass({
    26 |   displayName: 'PanelGroup',
    27 | 
    28 |   propTypes: {
  View compiled
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  ./node_modules/react-bootstrap/lib/Accordion.js
  E:/Insanity/Web/segui_info/node_modules/react-bootstrap/lib/Accordion.js:13
    10 | 
    11 | var _react2 = _interopRequireDefault(_react);
    12 | 
  &gt; 13 | var _PanelGroup = require('./PanelGroup');
    14 | 
    15 | var _PanelGroup2 = _interopRequireDefault(_PanelGroup);
    16 | 
  View compiled
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  ./node_modules/react-bootstrap/lib/index.js
  E:/Insanity/Web/segui_info/node_modules/react-bootstrap/lib/index.js:9
     6 | 
     7 | exports.__esModule = true;
     8 | 
  &gt;  9 | var _Accordion2 = require('./Accordion');
    10 | 
    11 | var _Accordion3 = _interopRequireDefault(_Accordion2);
    12 | 
  View compiled
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  ./src/routes/admin.js
  http://localhost:3000/static/js/bundle.js:96514:22
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  ./src/App.js
  http://localhost:3000/static/js/bundle.js:95293:22
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  ./src/index.js
  http://localhost:3000/static/js/bundle.js:96312:22
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  fn
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:87
    84 |      console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId);
    85 |      hotCurrentParents = [];
    86 |  }
  &gt; 87 |  return __webpack_require__(request);
    88 | };
    89 | var ObjectFactory = function ObjectFactory(name) {
    90 |  return {
  View compiled
  0
  http://localhost:3000/static/js/bundle.js:97408:1
  __webpack_require__
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:669
    666 | };
    667 | 
    668 | // Execute the module function
  &gt; 669 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
    670 | 
    671 | // Flag the module as loaded
    672 | module.l = true;
  View compiled
  Anonymous function
  E:/Insanity/Web/segui_info/webpack/bootstrap a1ffbf39f7aa54dab00b:715
    712 | __webpack_require__.h = function() { return hotCurrentHash; };
    713 | 
    714 | // Load entry module and return exports
  &gt; 715 | return hotCreateRequire(0)(__webpack_require__.s = 0);
    716 | 
    717 | 
    718 | 
  View compiled
  Global code
  http://localhost:3000/static/js/bundle.js:1:11
  </code></pre>