I think the issue is that some of the properties in {...restProps} aren't compatible between NextLink and NextLinkProps
This sounds about right to me
PrismicNextLink is its own custom React component, and it doesn't accept the href prop that next/link has, which could be causing the problem here. I asked earlier what you were passing to this button, because usually this error means that some of the props from ...restProps are incompatible with what PrismicNextLink expects.
You say that you're able to run npm run dev "ok", do you mean that it won't stop you navigating your website locally, but your button doesn't work?
I saw you posted in that thread, did you try this?