I am starting to establish a native response. I have successfully installed homebrew, nodejs, npm. but unable to establish a reaction to the native
I tried first
npm install -g react-native-cli
gives me a warning about the entry:
Missing write access to /Users/project/.npm-packages/lib/node_modules/react-native-cli
After that i tried
sudo npm install -g react-native-cli
/Users/project/.npm-packages/bin/react-native -> /Users/project/.npm-packages/lib/node_modules/react-native-cli/index.js
/Users/project/.npm-packages/lib
└── react-native-cli@1.0.0
Sounds like a setup.
After that i tried
react-native init AwesomeProject
Error: react-native: command not found
What could be the problem
source share