Looking at the original docs, I ran npx react-native init AwesomeProject and didn't change anything.
I get attachToServer is not a function error when I run npx react-native start or yarn start. Both don't work. I didn't have this issue before I don't know what might be causing it. Using expo I can start metro so this is probably react-native cli issue.
Here are the package versions.
"dependencies": {
"react": "17.0.2",
"react-native": "0.67.2"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "17.0.2"
},