In one of your pages you did export const config
with an invalid value.
The page's config must be an object initialized directly when being exported.
This is not allowed
export const config = 'hello world'
This is allowed
export const config = { amp: true }