React Native CLI Error

I'm encountering an error that says (error cannot start server in new window because no terminal app was specified) when i run the command npx react-native run-android

Additionally, when I execute the command (npm start) and then choose "a" for android it returns an error message stating 'Build fail in 2s.'"