generatebuildid-not-a-string.mdx


title: 'generateBuildId did not return a string'

Why This Error Occurred

The most common cause for this issue is a custom next.config.js with the generateBuildId method defined, but it does not return a string.

Possible Ways to Fix It

Always return a string from generateBuildId.

Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.

errors/generatebuildid-not-a-string.mdx · vercel/next.js | Docs MD