title: Unable to resolve module util from node_modules\uuidv4\build\lib\uuidv4.js
body: <p>There are some questions with this title but I have. tried every solution in them but I'm unable to resolve this.</p>
  <p>I've just started learning React-Native and I'm getting this error:</p>
  <p><a href="https://i.stack.imgur.com/q2h0o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q2h0o.png" alt="enter image description here" /></a></p>
  <p>I've tried the steps mentioned in this red box. I've tried deleting <code>node_modules</code> folder and then installing it again. I've also changed <code>&quot;uuidv4&quot;: &quot;^5.0.1&quot;</code> version and installed <code>npm install</code> again. but it didn't work.  The code where I've used <code>uuidv4</code> is:</p>
  <pre><code>const [items, setItems] = useState([
      { id: uuid(), text: 'Milk' },
      { id: uuid(), text: 'Eggs' },
      { id: uuid(), text: 'Bread' },
      { id: uuid(), text: 'Juice' }
  ]);
  </code></pre>
  <p>I've imported it as <code>import { uuid } from 'uuidv4';</code></p>
  <p>Any help?</p>