title: Incorrect Expo Modules Version installed
body: <p>The steps to <a href="https://docs.expo.dev/bare/installing-expo-modules/" rel="nofollow noreferrer">install Expo</a> to your react native project manually can look like this.</p>
  <pre><code>npx react-native init AwesomeProject
  cd *
  npx install-expo-modules
  </code></pre>
  <p>And your <code>node_modules/expo-modules-autolinking</code> will look like this.
  <a href="https://i.stack.imgur.com/sQdzc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sQdzc.png" alt="enter image description here" /></a></p>
  <p>However, when I run <code>npx install-expo-modules</code> from my project, <code>node_modules/expo-modules-autolinking</code> will look like this:</p>
  <p><a href="https://i.stack.imgur.com/m2wrW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m2wrW.png" alt="enter image description here" /></a></p>
  <h1>Differences in projects</h1>
  <p>New Test Project package.json:</p>
  <pre><code>&quot;dependencies&quot;: {
      &quot;expo&quot;: &quot;^44.0.4&quot;,
      &quot;react&quot;: &quot;17.0.2&quot;,
      &quot;react-native&quot;: &quot;0.66.4&quot;
  }
  </code></pre>
  <p>Existing project package.json:</p>
  <pre><code>&quot;dependencies&quot;: {
      ...
      &quot;react-native&quot;: &quot;0.64.1&quot;,
      &quot;react&quot;: &quot;17.0.1&quot;,
      &quot;expo&quot;: &quot;&gt;=44.0.0-* &lt;45.0.0&quot;
  }
  </code></pre>
  <h1>Problem</h1>
  <p>This becomes an issue because the <code>pod install</code> phase of <code>npx install-expo-modules</code> fails with the following error (due to expecting a different directory structure):</p>
  <pre><code>[!] Invalid `Podfile` file: cannot load such file -- /Users/Ryan/Desktop/Dev/dir/mobile-app/node_modules/expo-modules-autolinking/scripts/ios/autolinking_manager.
  
   #  from /Users/Ryan/Desktop/Dev/dir/mobile-app/ios/Podfile:1
   #  -------------------------------------------
   &gt;  require File.join(File.dirname(`node --print &quot;require.resolve('expo/package.json')&quot;`), &quot;scripts/autolinking&quot;)
   #  require_relative '../node_modules/react-native/scripts/react_native_pods'
   #  -------------------------------------------
  Uncaught Error CocoaPodsError: Command `pod install` failed.
  </code></pre>