the-events-calendar / ql-events

The Events Calendar binding to WPGraphQL
15 stars 7 forks source link

Builds fail when Community Events plugin enabled #39

Open craigwilcox opened 2 years ago

craigwilcox commented 2 years ago

When we enabled the The Events Calendar: Community Events plugin, our builds started failing during the Gatsby createPages process. We get this error when it fails:

11:23:36 AM: Internal server error
11:23:36 AM: 
11:23:36 AM: 
11:23:36 AM:   GraphQLError: Internal server error
11:23:36 AM:   
11:23:36 AM:   - errors.ts:9 Object.relocatedError
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/stitch/errors.ts:9:12
11:23:36 AM:   
11:23:36 AM:   - checkResultAndHandleErrors.ts:284 handleNull
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/delegate/checkResultAndHandleErrors.ts:284:1    4
11:23:36 AM:   
11:23:36 AM:   - checkResultAndHandleErrors.ts:73 handleResult
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/delegate/checkResultAndHandleErrors.ts:73:12  
11:23:36 AM:   - checkResultAndHandleErrors.ts:50 Object.checkResultAndHandleErrors
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/delegate/checkResultAndHandleErrors.ts:50:10  
11:23:36 AM:   - CheckResultAndHandleErrors.ts:35 CheckResultAndHandleErrors.transformResult
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/wrap/transforms/CheckResultAndHandleErrors.t    s:35:12
11:23:36 AM:   
11:23:36 AM:   - transforms.ts:40 
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/wrap/transforms.ts:40:21
11:23:36 AM:   
11:23:36 AM:   - Array.reduceRight
11:23:36 AM:   
11:23:36 AM:   - transforms.ts:37 Object.applyResultTransforms
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/wrap/transforms.ts:37:21
11:23:36 AM:   
11:23:36 AM:   - delegateToSchema.ts:211 
11:23:36 AM:     [repo]/[graphql-tools-fork]/src/delegate/delegateToSchema.ts:211:9
11:23:36 AM:   
11:23:36 AM:   - task_queues.js:95 processTicksAndRejections
11:23:36 AM:     internal/process/task_queues.js:95:5
11:23:36 AM:   
11:23:36 AM:   - async Promise.all
11:23:36 AM:   
11:23:36 AM:   - async Promise.all
11:23:36 AM:   
11:23:36 AM:   - graphql-runner.ts:187 GraphQLRunner.query
11:23:36 AM:     [repo]/[gatsby]/src/query/graphql-runner.ts:187:14
11:23:36 AM:   
11:23:36 AM:   - createHomePage.js:21 module.exports
11:23:36 AM:     [repo]/[@simplur]/gatsby-theme-full-site/utils/createHomePage.js:21:18
11:23:36 AM:   
11:23:36 AM:   - async Promise.all
11:23:36 AM:   
11:23:36 AM:   - gatsby-node.js:103 Object.exports.createPages
11:23:36 AM:     [repo]/[@simplur]/gatsby-theme-full-site/gatsby-node.js:103:5

We are on older versions of WPGraphQL (1.2.6) and WooGraphQL (0.8.1). Here are the versions for TEC: The Events Calendar - Version 5.12.2 TEC Pro - Version 5.11.1 Event Tickets - Version 5.2.2 Event Tickets Plus - Version 5.3.2 Community Events - Version 4.8.10

Happy to provide more info if needed.

Thanks, Craig