title: React-Native assets not loading - errors not clear
body: <p>I am using React-native along with AWS Amplify and AWS AppSync with GraphQL. When I load my app in the ios simulator with the command <code>npx react-native ios</code> the app loads, but it is not loading the assets.</p>
  <p>If I inspect and click on something like <code>App</code> or <code>Navigator</code> I get the following errors. I'm not sure if they are related. I had this working and without changing any code this started happening.</p>
  <p>Here is an example of how I'm trying to load an asset:</p>
  <blockquote>
  <p>&lt;TouchableOpacity
  style={styles.write}
  onPress={() =&gt; this.toggleWritePopup()}&gt;
  &lt;Image source={require('../assets/writeicon.png')} /&gt;
  </p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/qMtj3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qMtj3.png" alt="error in simulator from inspect element" /></a></p>
  <p>Edit:
  Here is the output for <code>react-native info</code></p>
  <pre><code>System:
  OS: macOS 10.15.6
  CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
  Memory: 6.88 GB / 16.00 GB
  Shell: 5.7.1 - /bin/zsh
   Binaries:
  Node: 12.18.3 - /usr/local/bin/node
  Yarn: Not Found
  npm: 6.14.6 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
  CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
  iOS SDK:
    Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
  Android SDK: Not Found
  IDEs:
  Android Studio: Not Found
  Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
  Languages:
  Java: 12.0.1 - /usr/bin/javac
  Python: 2.7.16 - /usr/bin/python
  npmPackages:
  @react-native-community/cli: Not Found
  react: 16.9.0 =&gt; 16.13.1
  react-native: ^0.62.2 =&gt; 0.63.3
  react-native-macos: Not Found
  npmGlobalPackages:
  *react-native*: Not Found
  </code></pre>
  <p>Edit:
  This is another section of code where this png is also not loading. So even with the dimensions it does not work:</p>
  <pre><code> &lt;ImageBackground
        source={require('../assets/blue_ocean.png')}
        style={{width: '100%', height: '100%'}}&gt;
  </code></pre>