title: I face this error with my react-native project
body: <p>error: bundling failed: Error: Unable to resolve module <code>assert</code> from <code>path to my project\node_modules\@jest\console\build\BufferedConsole.js</code>: Module <code>assert</code> does not exist in the Haste module map</p>
  
  <p>I have tried to uninstall npm and reinstall it Again but this was useless </p>
  
  <p>Could you advice why this happens and how could I solve this issue ?</p>
  
  <p>Jest in package.json</p>
  
  <pre><code>"devDependencies": {
      "@babel/core": "^7.4.5",
      "@babel/runtime": "^7.6.2",
      "babel-jest": "^24.8.0",
      "jest": "^24.8.0",
      "metro-react-native-babel-preset": "^0.54.1",
      "react-test-renderer": "16.8.3",
      "rn-nodeify": "^10.1.0"
    },
    "jest": {
      "preset": "react-native"
    }
  </code></pre>
  
  <p>the error in metro bundler is</p>
  
  <p><a href="https://i.stack.imgur.com/mJvcT.png" rel="nofollow noreferrer">https://i.stack.imgur.com/mJvcT.png</a></p>