title: How to fix - Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose'
body: <p>I am working on a project of react and I am getting the following error after implement this package <a href="https://www.npmjs.com/package/react-bootstrap-typeahead" rel="noreferrer">https://www.npmjs.com/package/react-bootstrap-typeahead</a> then i get the following error.</p>
  
  <pre><code>Failed to compile
  
  ./node_modules/react-popper/lib/cjs/Popper.js
  Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'E:\reactjs\deveans-react-version\node_modules\react-popper\lib\cjs'
  
  This error occurred during the build time and cannot be dismissed.
  </code></pre>
  
  <p>I found many solutions and I tried it too <a href="https://github.com/jquense/yup/issues/216" rel="noreferrer">https://github.com/jquense/yup/issues/216</a> but still getting same error.</p>
  
  <p>But when i remove Typeahead component then it works fine.</p>
  
  <pre><code>import React , { Component } from 'react'
  import {Typeahead} from 'react-bootstrap-typeahead';
  import 'react-bootstrap-typeahead/css/Typeahead.css';
  class States extends Component {
  
      state = {
          multiple: false,
          options: [
            {id: 1, label: 'Pakistan'},
            {id: 2, label: 'Indonesia'},
            {id: 3, label: 'Turkey'},
            {id: 4, label: 'Brazil'},
          ]
        };
  
      render () {
  
          const {multiple} = this.state;
  
          return (
            &lt;div&gt;
              &lt;Typeahead
              labelKey="label"
              multiple={multiple}
              options={this.state.options}
              placeholder="Choose a state..."
            /&gt;
            &lt;/div&gt;
          )
      }
  }
  export default States
  </code></pre>