SyntaxError: Unexpected token in JSON at position 0

Run the following command to view details

node node_modules/react-native/local-cli/cli.js --verbose  bundle --entry-file index.js --platform android --dev false --bundle-output ./android/bundles/index.android.bundle --assets-dest ./android/bundles
Copy the code

Error message

at FileStore.get(:****\node_modules\metro-cache\src\stores\FileStore.js:26:19
Copy the code

Solution: NPM start — –reset-cache