error: ReferenceError: SHA-1 for file /usr/local/lib/node_modules/react-native/node_modules/metro/src/node-haste/DependencyGraph/assets/empty-module.js (/usr/local/lib/node_modules/react-native/node_modules/metro/src/node-haste/DependencyGraph/assets/empty-module.js) is not computed.
I had this error for a while and fixed it. any of you all having the same error just use the command below..
FIX. : npm i -g react-native-cli