Invalid href passed to router error after fresh installed create-next-app
You have to set parameter prefetch={false}
<Link key={index} href={value} prefetch={false}>
<a target={"_blank"}>
{icon}
</a>
</Link>
Removing the protocol http
or https
from the external url fixes this issue
example
https://stackoverflow.com/
should be //stackoverflow.com/