title: Error: Command failed: yarn add react-native@latest - React Native
body: <p>I've been trying to start a new React Native project but have been facing this issue for a few days, tried searching for it on a lot of forums but couldn't find any solution that works for me.</p>
  <p>The commands I've tried:</p>
  <blockquote>
  <p><code>npx react-native init MyApp</code></p>
  </blockquote>
  <blockquote>
  <p><code>npx react-native init MyApp --template react-native-template-typescript</code></p>
  </blockquote>
  <blockquote>
  <p><code>npx --ignore-existing react-native init MyApp --template react-native-template-typescript</code></p>
  </blockquote>
  <p>Someone mentioned removing react-native-CLI using:</p>
  <blockquote>
  <p><code>npm uninstall -g react-native-cli </code> and
  <code>yarn global remove react-native-cli</code></p>
  </blockquote>
  <p>Still, no luck. Would be great if anyone could help out.</p>
  <p>BTW, I've Node version 14.1.0</p>
  <p><a href="https://i.stack.imgur.com/mCrdx.png" rel="nofollow noreferrer">Here is the error from terminal</a></p>