I keep getting this error during deployment (even when using the vercel deploy button in the documentation)
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ...
Collecting page data ...
Generating static pages (0/17) ...
Generating static pages (4/17)
Generating static pages (8/17)
Generating static pages (12/17)
{ error: 'Unexpected token < in JSON at position 0' }
{ error: 'Unexpected token < in JSON at position 0' }
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[object Object]
✓ Generating static pages (17/17)
> Export encountered errors on following paths:
/(main)/page: /
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1