You should see in your package.json that @react-navigation/stack is defined like this;
"@react-navigation/stack": "^6.3.29"
If you have this and still see this error, try running this on your terminal on the project directory;
adb reverse tcp:8081 tcp:8081