react-native: command not found
<p>I am getting <code>-bash: react-native: command not found error</code> while creating a react-native project.</p>
<p>Below are the additional info</p>
<pre><code>1. brew --version
   homebrew 0.9.9
2  brew info watchman
   watchman `enter code here`stable 4.50
   /usr/local/Cellar/watchman/4.4.0
3. brew info flow
   stable 0.24.1
   /usr/local/Cellar/flow/0.24.1
4. brew info node
   stable 6.1.0
   /usr/local/Cellar/node/6.1.0
5. npm -version
   3.8.6
6. echo $PATH
/Users/Ashok/.rbenv/shims:/Users/Ashok/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
</code></pre>
<p>I tried the suggested steps from <a href="https://stackoverflow.com/questions/33282545/bash-react-native-command-not-found">this link</a> but I am still getting the same error.</p>
<p>I don't have any &quot;npm&quot; directory which they have specified in the solution</p>
<pre><code>Ashoks-MacBook-Pro:share Ashok$ ls
aclocal     doc     info        ruby-build  zsh
autoconf    emacs       man     systemtap
</code></pre>
<p>But I found npm file exists in the below location.</p>
<pre><code>/usr/local/Cellar/node/6.1.0/etc/bash_completion.d
</code></pre>
<p>I uninstalled react-native and installed it again but I am still facing the same issue.</p>