I installed Node.js directly from their site and npm
and node
are both up to date when running npm -v
/node -v
. I then typed npm install -g create-react-native-app
and get the following:
When running the command npm install -g react-native-cli
it returns:
When I try to create a react native app, it returns command not found (as expected) and I get the same thing when running react-native init
I have tried uninstalling Homebrew, reinstalling it with node and npm and nothing seems to work (I currently have Homebrew uninstalled). Can anyone help me get React-Native working?! Thanks in advance!