Error after running react-native run-android

error Option “–root” is missing. Run CLI with --verbose flag for more details.
Error: Option “–root” is missing
at C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules@react-native-community\cli\build\tools\assertRequiredOptions.js:51:13
at Array.forEach ()
at assertRequiredOptions (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules@react-native-community\cli\build\tools\assertRequiredOptions.js:40:11)
at Command.handleAction (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules@react-native-community\cli\build\index.js:181:42)
at Command.listener (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules\commander\index.js:315:8)
at Command.emit (events.js:310:20)
at Command.parseArgs (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules\commander\index.js:651:12)
at Command.parse (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules\commander\index.js:474:21)
at setupAndRun (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules@react-native-community\cli\build\index.js:267:24)
at Object.run (C:\Users\ravih\AppData\Roaming\npm\node_modules\react-native\node_modules@react-native-community\cli\build\index.js:206:11)

Well the error message already shows you, how you can continue.
It’s always a good advice to read error messages properly.

Besides that, if you need help with React Native, you should create an issue on their repository page or find a specific discord server.
Even though this is a Support Forum, it’s not meant to be a place for every GitHub repository out there.

You should also provide more information than just posting the error messages, If you want to get help, e. g. Steps to reproduce, code, OS, versions etc.