I have successfully installed brew, node 4.0+, watchman and flow, and I received the following when I do npm install -g react-native-cli
:
/Users/home/.node/bin/react-native -> /Users/home/.node/lib/node_modules/react-native-cli/index.js
[email protected] /Users/home/.node/lib/node_modules/react-native-cli
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
So I assume react-native-cli
has been successfully installed as well. However when I run react-native
, it says:
-bash: react-native: command not found
My node version is 4.2.1, watchman 3.9, brew 0.9.5 (git 7ed6) and npm 2.14.7
nvm
may want to check that theirnvm
version is sustaining. I had this issue when I had oldnpm
bin routes in myPATH
that needed to be removed – bananabanana