title: Module not found: Can't resolve 'moment' in 'node_modules\react-moment\dist' in reactjs
body: <p>I have installed react-moment 'npm i react-moment'. It is installed in the directory node_modules and dependency added in the package.json file. Every thing is correct. But when I import</p>
  <pre><code>import Moment from 'react-moment'
  </code></pre>
  <p>then it shows</p>
  <pre><code>Module not found: Can't resolve 'moment' in 'node_modules\react-moment\dist'
  </code></pre>
  <p>But there is nothing wrong with this directory, I haven't modified the files inside react-moment directory in node_modules. Just after installing the package, when I import the package</p>
  <pre><code>import Moment from 'react-moment'
  </code></pre>
  <p>Then it shows the error.</p>