Giter Club home page Giter Club logo

gatsby-starter-wordpress-community's People

Contributors

dependabot[bot] avatar pablovila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gatsby-starter-wordpress-community's Issues

Errors when querying WordPress fields

I would like to try out the starter but I get a few errors

My steps:

gatsby new gatsbytest https://github.com/pablovila/gatsby-starter-wordpress-community
cd gatsbytest 
npm install
gatsby develop
npm update
gatsby develop (2nd try)

The errors

Cannot query field "featured_media" on type "wordpress__POST" (blog-list.js)
Cannot query field "wordpressWpSettings" on type "Query" (header.js)

I have tried changing baseUrl in gatsby-config.js to a different WP website. In thatt case I get different errors like Cannot query field "allWordpressPage" on type "Query" (navbar.js)
I have also tried this on two computers, it fails on both:

1st computer
Gatsby CLI version: 2.8.14
Gatsby version: 2.15.14
Node version: v10.10.0
Npm version: 6.4.1

2nd computer
Gatsby CLI version: 2.8.14
Gatsby version: 2.15.14
Node version: v8.11.4
Npm version: 6.3.0

What could be the problem?

complete migration from Wordpress

the current blog is self-hosted with WordPress.
I want to migrate it to Gatsby+Makrdown. So that blog can be written using markdown.
I don't want to continue using WordPress but I need old blogs too.
It seems, this codebase, connect to wordpress and try to get all the data and then create pages. so, I think, It doesn't satisfy my purpose. Kindly help me to understand!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.