A fix for npmlog error

Summary:
Added a fix to the GettingStarted guide, for when npmlog module isn't found.
Solution copied from: https://github.com/tj/n/issues/101#issuecomment-40827196
Closes https://github.com/facebook/react-native/pull/8994

Differential Revision: D3612345

Pulled By: JoelMarcey

fbshipit-source-id: 10e7381adc530bb97c795cae022da3525745122a
This commit is contained in:
GevaZeichner 2016-07-24 18:35:54 -07:00 committed by Facebook Github Bot 0
parent 143b6493b0
commit feb2825757
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ npm install -g react-native-cli
If you get a permission error, try with sudo: `sudo npm install -g react-native-cli`.
If you get error `Cannot find module 'npmlog'`, try this before: `curl -0 -L http://npmjs.org/install.sh | sudo sh`.
<block class="mac ios" />
The easiest way to install Xcode is via the [Mac App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12).