Graphql issue on build only

Hi,
maybe someone can help with the issue I describe there?:

On localhost, npm run develop, there is no problem.
Thanks.