gatsby-source-wordpress | createSchemaCustomization
See original GitHub issueDescription
I’m having a play with gatsby-source-wordpress
and have created a stripped back repo here
I’ve only added the deps i think i need after referencing the starter
But I’m seeing the following error:
success gatsby-source-wordpress ensuring plugin requirements are met - 0.842s
⠀
info gatsby-source-wordpress
This is either your first build or the cache was cleared.
Please wait while your WordPress data is synced to your Gatsby cache.
Maybe now's a good time to get up and stretch? :D
success gatsby-source-wordpress ingest WPGraphQL schema - 1.136s
ERROR
There was an error
not finished createSchemaCustomization - 2.007s
Steps to reproduce
I have WP running on wordpress.com and my graphql endpoint url is https://pauliepro.blog/graphql
… maybe it’s something i’ve done wrong in WP?
If i use the url from the starter https://wpgatsbydemo.wpengine.com/graphql
this repro repo works ok.
However the starter errors when i use my url, which makes me think it’s something to do with how i’ve setup WP rather than a problem with the source plugin.
I’ve added the following plugins to WP
WP Gatsby Version 1.0.1
WP GraphQL Version 1.1.3
but when i run… yarn develop
| gatsby develop
i see an error
Expected result
I was hoping the site would build
Actual result
ERROR
Environment
System:
OS: macOS Mojave 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.16.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 88.0.4324.150
Firefox: 85.0
Safari: 13.1.1
npmPackages:
gatsby: ^2.30.1 => 2.32.3
gatsby-plugin-sharp: ^2.14.1 => 2.14.1
gatsby-source-wordpress: ^4.0.1 => 4.0.1
gatsby-transformer-sharp: ^2.12.0 => 2.12.0
npmGlobalPackages:
gatsby-cli: 2.15.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Fails in dev environment @ createSchemaCustomization
gatsby -source-wordpress-experimental 6.2.0; WP 5.6. Once I've updated gatsby-config.js I run gatsby develop and encounter the following issue:.
Read more >Customizing the GraphQL Schema - Gatsby
One of Gatsby's main strengths is the ability to query data from a variety of sources in a uniform way with GraphQL. For...
Read more >Modify Gatsby's GraphQL data types using ... - Paul Scanlon
Modify Gatsby's GraphQL data types using createSchemaCustomization · node. This is the new node type sourced from the NASA API and already exists ......
Read more >Using Local and Gatsby connection error - Support
The gatsby-source-wordpress plugin fails to connect to the local environment. If I use a deployed url such as https://wpgatsbydemo.wpengine.com/ ...
Read more >"gatsby-source-graphql" doesn't link to Drupal 8 - Stack Overflow
success createSchemaCustomization - 0.005s ERROR #11321 PLUGIN "gatsby-source-graphql" threw an error while running the sourceNodes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone else running into weird errors. In my case it was caused by CoBlocks I deactivated this plugin and everything sprung back to life. Feel free to close this issue.
Closing this duplicate. See issue: https://github.com/gatsbyjs/gatsby/issues/29535