title: How do I resolve this error why deploying to vercel?
body: <p>While deploying my NextJS app to vercel, I get the following error-</p>
  <p>Image to the error console</p>
  <p><img src="https://i.stack.imgur.com/DzGby.png" alt="1" /></p>
  <p>When I create a <code>yarn.lock</code> file using yarn package manager, the app deploys successfully. But unlike the <code>package-lock.json</code> file created by npm, isn't <code>yarn.lock</code> useless while deployment as well?</p>