title: Cannot resolve module "firebase" from 'firebase.js' : Firebase could not be found within the project
body: <p>I'm having issues getting firebase into this project and I'm really not sure what is going wrong? All the firebase code (except the project-specific config code) is exactly the same as another (working) project...</p>
  <p>I'm Using react-native with expo and have the FB database as a web project.</p>
  <p>I Initialize the database in a file called firebase.js on the root level of the project, it's sitting right next to app.js. Database doesn't have security rules yet so I removed some of the info but its what you would expect for an api key.</p>
  <pre><code>import * as firebase from 'firebase';
  import 'firebase/firestore';
  
  const firebaseConfig = {
      apiKey: &quot;removed for post&quot;,
      authDomain: &quot;removed for post&quot;,
      databaseURL: &quot;removed for post&quot;,
      projectId: &quot;goalsdev-7eb67&quot;,
      storageBucket: &quot;goalsdev-7eb67.appspot.com&quot;,
      messagingSenderId: &quot;362368452051&quot;,
      appId: &quot;removed for post&quot;,
      measurementId: &quot;G-CNRGY3FTLE&quot;
  };
  
  firebase.initializeApp(firebaseConfig);
  
  export default firebase;
  </code></pre>
  <p>Then I try and use it like so...</p>
  <pre><code>import firebase from 'firebase'
  </code></pre>
  <p>this is in <em><strong>/screens/signUpFinal</strong></em>, have also tried importing as 'firebase.js', '../firebase' and '../firebase.js'</p>
  <p>package.json is:</p>
  <pre><code>...
  &quot;dependencies&quot;: {
      &quot;@react-native-community/masked-view&quot;: &quot;0.1.10&quot;,
      &quot;@react-native-firebase/app&quot;: &quot;^8.4.3&quot;,
      &quot;@react-native-firebase/auth&quot;: &quot;^9.2.3&quot;,
      ...
  ...
  </code></pre>