title: React-native: index.js: Transformer.transform is not a function
body: <p>I'm new to react-native. After upgrading react-native from 0.48.3 to 0.62.2 on a project I get the error when running &quot;react-native run-ios&quot; command: &quot;index.js: Transformer.transform is not a function&quot;.
  <a href="https://i.stack.imgur.com/948JL.png" rel="nofollow noreferrer">Error screenshot</a></p>