draftbox-co / gatsby-ghost-novela-starter Goto Github PK
View Code? Open in Web Editor NEWA Gatsby starter for creating blogs from headless Ghost CMS.
Home Page: https://ghost-novela-preview.draftbox.co/
License: MIT License
A Gatsby starter for creating blogs from headless Ghost CMS.
Home Page: https://ghost-novela-preview.draftbox.co/
License: MIT License
C:\Users\gamer\try-ghost>gatsby develop
success open and validate gatsby-configs - 0.456s
warning Plugin @draftbox-co/gatsby-plugin-css-variables is not compatible with your gatsby version 2.21.1 - It requires [email protected]
error Your plugins must export known APIs from their gatsby-node.js.
See https://www.gatsbyjs.org/docs/node-apis/ for the list of Gatsby node APIs.
Some of the following may help fix the error(s):
@draftbox-co/gatsby-ghost-novela-theme
tried to define the GraphQL type GhostPost
, which has already been defined by the plugin gatsby-source-ghost
.@draftbox-co/gatsby-ghost-novela-theme
tried to define the GraphQL type GhostPage
, which has already been defined by the plugin gatsby-source-ghost
.Config rootPath not set, using basePath instead => /
Config basePath /
Config authorsPath /authors
error There was an error in your GraphQL query:
Cannot query field "readingTime" on type "GhostPost".
If you don't expect "readingTime" to exist on the type "GhostPost" it is most likely a typo.
However, if you expect "readingTime" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPost":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
error There was an error in your GraphQL query:
Cannot query field "mdx" on type "GhostPost".
If you don't expect "mdx" to exist on the type "GhostPost" it is most likely a typo.
However, if you expect "mdx" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPost":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
error There was an error in your GraphQL query:
Cannot query field "readingTime" on type "GhostPage".
If you don't expect "readingTime" to exist on the type "GhostPage" it is most likely a typo.
However, if you expect "readingTime" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
error There was an error in your GraphQL query:
Cannot query field "mdx" on type "GhostPage".
If you don't expect "mdx" to exist on the type "GhostPage" it is most likely a typo.
However, if you expect "mdx" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
error There was an error in your GraphQL query:
Cannot query field "localFeatureImage" on type "GhostPage".
If you don't expect "localFeatureImage" to exist on the type "GhostPage" it is most likely a typo.
However, if you expect "localFeatureImage" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
error There was an error in your GraphQL query:
Cannot query field "localFeatureImage" on type "GhostPage".
If you don't expect "localFeatureImage" to exist on the type "GhostPage" it is most likely a typo.
However, if you expect "localFeatureImage" to exist there are a couple of solutions to common problems:
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "GhostPage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
TypeError: Cannot read property 'articles' of undefined
at Object.module.exports [as createPages] (C:\Users\gamer\try-ghost\node_modules@draftbox-co\gatsby-ghost-novela-theme\src\gatsby\node\createPages.js:108:53)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Creating articles page
success createPages - 0.153s
warning Warning: Empty string transition configs (e.g., { on: { '': ... }}
) for transient transitions are deprecated. Specify the transition in the { always: ... }
property instead. Please check the on
configuration for "#pageComponents.inactive".
warning Warning: Empty string transition configs (e.g., { on: { '': ... }}
) for transient transitions are deprecated. Specify the transition in the { always: ... }
property instead. Please check the on
configuration for "#pageComponents.inactive".
warning Warning: Empty string transition configs (e.g., { on: { '': ... }}
) for transient transitions are deprecated. Specify the transition in the { always: ... }
property instead. Please check the on
configuration for "#pageComponents.inactive".
warning Warning: Empty string transition configs (e.g., { on: { '': ... }}
) for transient transitions are deprecated. Specify the transition in the { always: ... }
property instead. Please check the on
configuration for "#pageComponents.inactive".
success createPagesStatefully - 0.287s
success onPreExtractQueries - 0.002s
success update schema - 0.058s
success extract queries from components - 2.217s
warning The GraphQL query in the non-page component "C:/Users/gamer/try-ghost/node_modules/@draftbox-co/gatsby-ghost-novela-theme/src/templates/article.template.amp.tsx" will not be run.
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 (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 — https://graphql.org/learn/queries/#fragments
success write out requires - 0.383s
success write out redirect data - 0.113s
success onPostBootstrap - 0.195s
⠀
info bootstrap finished - 19.626 s
⠀
success run queries - 0.191s - 5/5 26.24/s
Warning: Each child in a list should have a unique "key" prop.
Check the top-level render call using . See https://fb.me/react-warning-keys for more information.
in style
in HTML
⠀
You can now view gatsby-ghost-novela-starter 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 gatsby build
⠀
success Building development bundle - 8.329s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.