I am getting -bash: react-native: command not found error while creating react-native project.
Below are the additional info
1. brew --version homebrew 0.9.92 brew info watchman watchman `enter code here`stable 4.50 /usr/local/Cellar/watchman/4.4.03. brew info flow stable 0.24.1 /usr/local/Cellar/flow/0.24.14. brew info node stable 6.1.0 /usr/local/Cellar/node/6.1.05. npm -version 3.8.66. echo $PATH/Users/Ashok/.rbenv/shims:/Users/Ashok/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I tried suggested steps from the below link but still i am getting same error.
I don't have any "npm" directory which they have specified in the solution
Ashoks-MacBook-Pro:share Ashok$ lsaclocal doc info ruby-build zshautoconf emacs man systemtap
But i found npm file exist in below location.
/usr/local/Cellar/node/6.1.0/etc/bash_completion.d
I uninstalled react-native and installed again but still i am facing same issue.