pablovila / gatsby-starter-wordpress-community Goto Github PK
View Code? Open in Web Editor NEWGatsby Starter to launch your blog from WordPress
License: MIT License
Gatsby Starter to launch your blog from WordPress
License: MIT License
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?
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!
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.