2023-07-05 15:11:16 +02:00
|
|
|
---
|
|
|
|
title: '`generateBuildId` did not return a string'
|
|
|
|
---
|
2018-11-12 15:57:48 +01:00
|
|
|
|
2023-07-05 15:11:16 +02:00
|
|
|
## Why This Error Occurred
|
2018-11-12 15:57:48 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2023-07-05 15:11:16 +02:00
|
|
|
## Possible Ways to Fix It
|
2018-11-12 15:57:48 +01:00
|
|
|
|
|
|
|
Always return a string from generateBuildId.
|