title: Failed to parse src error when importing an image in Next.js
body: <p>I'm trying to import an image in Next.js but I get this error. I don't know what's the problem, could someone here help me about this?
  The image is located in public folder, this is the Error I get when I run the server.</p>
  <blockquote>
  <p>Error: Failed to parse src &quot;../public/logo.png&quot; on <code>next/image</code>, if
  using relative image it must start with a leading slash &quot;/&quot; or be an
  absolute URL (http:// or https://)</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/JZW44.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JZW44.png" alt="enter image description here" /></a></p>