$ sudo npm install –g react-native-cli npm ERR! addLocal Could not install /usr/local/bin/–g npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "–g" "react-native-cli" npm ERR! node v6.2.2 npm ERR! npm v2.14.7 npm ERR! The header content contains invalid characters npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /usr/local/bin/npm-debug.log
I follow the guide from https://facebook.imtqy.com/react-native/docs/getting-started.html
Clicking on the wall with this error. I have Xcode installed and cannot find a solution for the next step.
source share