Installing project specific tools like react-native
globally is yucky.
Even when it's just thin CLI wrappers.
Unfortunately react-native
actively breaks local npm binaries by forcing a broken bin stub into each project.
So if you added ./node_modules/.bin
to your $PATH
,
every attempt of running react-native
inside of a project will fail
with an annoying (and wrong) claim that you installed react-native
globally.
The easiest solution I found so far:
npm install --save react-native-cli
in your React Native project