title: Issues implementing Facebook login with React-native
body: <p>I am trying to follow the guide here: 
  <a href="https://developers.facebook.com/docs/react-native/login" rel="nofollow noreferrer">https://developers.facebook.com/docs/react-native/login</a>
  to get facebook login working on my app. I have literally copied and pasted the simple version into a file like this:</p>
  
  <pre><code>    import React, { Component } from 'react';
  import{
    View
  } from 'react-native';
  
  const FBSDK = require('react-native-fbsdk');
  const {
    LoginButton,
  } = FBSDK;
  
  var Login = React.createClass({
    render: function() {
      return (
        &lt;View&gt;
          &lt;LoginButton
            publishPermissions={['publish_actions']}
            onLoginFinished={
              (error, result) =&gt; {
                if (error) {
                  alert('Login failed with error: ' + result.error);
                } else if (result.isCancelled) {
                  alert('Login was cancelled');
                } else {
                  alert('Login was successful with permissions:'  + result.grantedPermissions)
                }
              }
            }
            onLogoutFinished={() =&gt; alert('User logged out')}/&gt;
        &lt;/View&gt;
      );
    }
  });
  export default class FacebookLogin extends Component {
  render(){
    return (
      &lt;Login /&gt;
    );
  }
  
  }
  </code></pre>
  
  <p>However recieve the following error on the ios simulator:</p>
  
  <p>Unable to resolve module <code>prop-types</code> from <code>{redacted}/node_modules/react-native-fbsdk/js/FBLikeView.js</code>: Module does not exist in the module map or in these directories:
  {project}/node_modules</p>
  
  <p>Any ideas on how to proceed?</p>
  
  <p>I tried reinstalling node modules and resetting the cache but I seem blocked.</p>