title: Can't resolve 'jquery' in 'D:\...\src' - reactjs
body: <p>I have installed <strong>jquery 1.9.1</strong> via npm command. After installation got completed i am getting the below error while i build my <strong>reactjs</strong> application.</p>
  
  <pre><code>&gt; webapp-react@0.1.0 build D:\Local_Instance\src\main\webapp-react
  &gt; react-scripts build
  </code></pre>
  
  <blockquote>
    <p>Creating an optimized production build...
    Failed to compile.</p>
    
    <p>Module not found: Error: Can't resolve 'jquery' in 'D:\Local_Instance\src\main\webapp-react\src'</p>
  </blockquote>
  
  <p>Please find my package.json file</p>
  
  <pre><code>{
    "name": "webapp-react",
    "version": "0.1.0",
    "private": true,
    "dependencies": {
  
     "bootstrap": "^3.3.7",
     "bson-objectid": "^1.1.5",
     "jquery": "^1.9.1",
     "moment": "^2.18.1",
     "react": "^15.6.1",
     "uuid": "^3.1.0"
    },
   "scripts": {
  "start": "react-scripts start",
  "build": "react-scripts build",
  "test": "react-scripts test --env=jsdom",
  "eject": "react-scripts eject"
  },
  "homepage": "."
  }
  </code></pre>
  
  <p>index.js file where i required to use <code>jquery</code></p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import App from './app';
  
  
  global.jQuery = require('jquery');
  require('bootstrap');
  require('bootstrap/dist/css/bootstrap.min.css');
  require('bootstrap/dist/css/bootstrap-theme.min.css');
  ReactDOM.render(&lt;App view="DemoApp" /&gt;, document.getElementById('root'));
  </code></pre>