You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.
The exported configuration object in a source file needs to have a very specific format from which some properties can be statically parsed at compiled-time.