Skip to content

Commit feb2825

Browse files
GevaZeichnerFacebook Github Bot 0
authored andcommitted
A fix for npmlog error
Summary: Added a fix to the GettingStarted guide, for when npmlog module isn't found. Solution copied from: tj/n#101 (comment) Closes #8994 Differential Revision: D3612345 Pulled By: JoelMarcey fbshipit-source-id: 10e7381adc530bb97c795cae022da3525745122a
1 parent 143b649 commit feb2825

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/GettingStarted.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ npm install -g react-native-cli
9393

9494
If you get a permission error, try with sudo: `sudo npm install -g react-native-cli`.
9595

96+
If you get error `Cannot find module 'npmlog'`, try this before: `curl -0 -L http://npmjs.org/install.sh | sudo sh`.
97+
9698
<block class="mac ios" />
9799

98100
The easiest way to install Xcode is via the [Mac App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12).

0 commit comments

Comments
 (0)