/Users/hua/pdd/project/sky-graphs/components/gatsby-theme-antv/@afe/gatsby-theme-graphs/gatsby-config cannot export a function.
A gatsby-config exported as a Function can only be used as a theme and not run directly.
If you are trying to run a theme directly, use the theme in an example site or starter instead and run that site to test.
If you are in the root gatsby-config.js for your site, change the export to be an object and not a function as functions
are not supported in the root gatsby-config.
以下是报错信息:
RROR #10126 CONFIG
/Users/hua/pdd/project/sky-graphs/components/gatsby-theme-antv/@afe/gatsby-theme-graphs/gatsby-config cannot export a function.
A gatsby-config exported as a Function can only be used as a theme and not run directly. If you are trying to run a theme directly, use the theme in an example site or starter instead and run that site to test. If you are in the root gatsby-config.js for your site, change the export to be an object and not a function as functions are not supported in the root gatsby-config.