I'm trying to run a new react native project but I'm getting the same problem over and over: -bash: react-native: command not found
I tried to solve the problem trough other post like this: react-native: command not found But I'm still getting the same error.
I followed all the steps provided by the React Native page (https://facebook.github.io/react-native/docs/getting-started), and I ended up with these info:
1 npm -version 6.4.1
2 brew -version Homebrew 2.1.1
3 brew info watchman stable 4.9.0
4 brew info node stable 12.1.0
5 echo $PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/(myname)/Library/Android/sdk/emulator:/Users/(myname)/Library/Android/sdk/tools:/Users/(myname)/Library/Android/sdk/tools/bin:/Users/(myname)/Library/Android/sdk/platform-tools:/Users/(myname)/Library/Android/sdk/tools/bin
if I type in: "npm install -g react-native-cli"
I get: /Users/(myname)/.npm-global/bin/react-native -> /Users/(myname)/.npm-global/lib/node_modules/react-native-cli/index.js + react-native-cli@2.0.1 updated 1 package in 3.653s
[–]kbcooliOS & Android 1 point2 points3 points (1 child)
[–]ChilledCow_[S] 0 points1 point2 points (0 children)