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:
parent
143b6493b0
commit
feb2825757
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue