$ yarn && yarn develop
yarn install v1.17.3
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.65s.
yarn run v1.17.3
$ gatsby develop
success open and validate gatsby-configs - 0.010 s
success load plugins - 0.142 s
success onPreInit - 0.014 s
success initialize cache - 0.006 s
success copy gatsby files - 0.020 s
success onPreBootstrap - 0.005 s
>>>开始同步文章:gine-blog 使用文档 from notion
error gatsby-node.js returned an error
Error: Request failed with status code 400
- createError.js:16 createError
[gine-blog]/[axios]/lib/core/createError.js:16:15
- settle.js:18 settle
[gine-blog]/[axios]/lib/core/settle.js:18:12
- http.js:202 IncomingMessage.handleStreamEnd
[gine-blog]/[axios]/lib/adapters/http.js:202:11
- next_tick.js:63 process._tickCallback
internal/process/next_tick.js:63:19
success source and transform nodes - 37.851 s
success building schema - 0.224 s
success createPages - 0.039 s
success createPagesStatefully - 0.081 s
success onPreExtractQueries - 0.002 s
success update schema - 0.033 s
warn The GraphQL query in the non-page component "/home/deepin/GitProjects/gine-blog/src/components/bangumi/index.js" will not be Exported queries are only executed for Page components. It's possible you're trying to create pages in your gatsby-node.js and that's failing for some reason.
If the failing component(s) is a regular component and not intended to be a page component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query) instead of exporting a page query.
If you're more experienced with GraphQL, you can also export GraphQL fragments from components and compose the fragments in the Page component query and pass data down into the child component — http://graphql.org/learn/queries/#fragments
success extract queries from components - 0.189 s
success write out requires - 0.007 s
success write out redirect data - 0.003 s
success onPostBootstrap - 0.002 s
⠀
info bootstrap finished - 40.312 s
⠀
success run static queries - 0.003 s
success run page queries - 0.071 s — 14/14 211.30 queries/second
DONE Compiled successfully in 5517ms 00:18:06
⠀
You can now view gatsby in the browser.
⠀
http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use npm run build
info ℹ 「wdm」:
info ℹ 「wdm」: Compiled successfully.