title: React native : Unexpected token in JSON at position 0
body: <p>I'm new to react native. I want to make a project with react navigation. I got this error:</p>
  
  <pre><code>SyntaxError: Unexpected token   in JSON at position 0
  at JSON.parse (&lt;anonymous&gt;)
  at FileStore.get(:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\stores\FileStore.js:26:19)
  at C:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\Cache.js:76:40
  at Generator.next (&lt;anonymous&gt;)
  at step (C:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\Cache.js:18:30)
  at C:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\Cache.js:37:14
  at new Promise (&lt;anonymous&gt;)
  at C:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\Cache.js:15:12
  at Cache.get (C:\Users\fz\Documents\androidproject\test2\node_modules\metro-cache\src\Cache.js:102:7)
  at C:\Users\fz\Documents\androidproject\test2\node_modules\metro\src\DeltaBundler\Transformer.js:166:34
  </code></pre>
  
  <p>This my app.js:</p>
  
  <pre><code>import React from 'react';
  import Input from './input.js';
  import Kalkulator from './kalkulator.js';
  import { createBottomTabNavigator, createAppContainer } from 'react-        
          navigation'; // Version can be specified in package.json
  
  const RootStack = createBottomTabNavigator({
      Input: Input,
      Kalkulator: Kalkulator
    }
  );
  
  export default createAppContainer(RootStack);
  </code></pre>
  
  <p>This is my package.json:</p>
  
  <pre><code>{
    "name": "test2",
    "version": "0.0.1",
    "private": true,
    "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",        
    "test": "jest",
    "android-linux": "react-native bundle --platform android --dev false --      
      entry-file index.js --bundle-output 
      android/app/src/main/assets/index.android.bundle --assets-dest 
      android/app/src/main/res &amp;&amp; react-native run-android"
    },
    "dependencies": {
        "react": "16.6.3",
        "react-native": "0.57.8",
        "react-native-gesture-handler": "^1.0.12",
        "react-navigation": "^3.0.9"
     },
     "devDependencies": {
        "babel-jest": "23.6.0",
        "jest": "23.6.0",
        "metro-react-native-babel-preset": "0.51.1",
        "react-test-renderer": "16.6.3"
      },
      "jest": {
        "preset": "react-native"
      }
    }
  </code></pre>
  
  <p>I tried to search at google but I can't find the way to fix this, before I built this project I have tried use react navigation in my previous project and it's fine, but why now I get this error?</p>