Failure to call AppRegistry.registerComponent
<blockquote>
  <p>I created a new project using <code>react-native init Wevaha</code>,after that I
  excute it work's properly then I modified sample app based on my
  requirement again run it works properly but the next time while
  running the app I am gettingthe error like</p>

<pre><code>' Application Wevaha has not been registered.This is either due to a require() error during intialization or failure to call
</code></pre>
  
  <p>AppRegistry.registerComponent'</p>
  
  <p>The screen shot attached below please find it
  <a href="https://i.stack.imgur.com/48OmF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/48OmF.png" alt="enter image description here"></a></p>
</blockquote>