title: What is the difference between "next": "12.2.5", and ^12.2.5
body: <p>On my NextJS project, I got this error on Vercel:</p>
  <pre><code>warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
  </code></pre>
  <p><a href="https://i.stack.imgur.com/sjRTW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sjRTW.png" alt="Vercel package-lock.json file error" /></a></p>
  <p>I made my research and I got this solution:</p>
  <p><a href="https://github.com/vercel/next.js/issues/8945#issuecomment-741838869" rel="nofollow noreferrer">Timer: You should install Next.js in your project via:</a></p>
  <p>Why not? So, I did it on my project and this is the result changes:</p>
  <p><a href="https://i.stack.imgur.com/cb7Hy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cb7Hy.png" alt="Results of instaling nextjs on a nextjs project" /></a></p>
  <pre><code>&quot;next&quot;: &quot;12.2.5&quot;, -&gt; &quot;next&quot;: &quot;^12.2.5&quot;,
  </code></pre>
  <p>My question: ¿What is the difference?
  Thanks
  Miguel</p>