Deploy Next.js in seconds →
The redirect value was returned from getStaticProps during prerendering which is invalid.
redirect
getStaticProps
Remove any paths that result in a redirect from being prerendered in getStaticPaths and enable fallback: true to handle redirecting for these pages.
getStaticPaths
fallback: true