Comments (6)
Another stack track using latest version alpha7
8:31:39 AM: error /opt/build/repo/web/src/pages/templates.js
8:31:39 AM:
8:31:39 AM: TypeError: processedQuery.matchAll(...) is not a function or its return value is not iterable
8:31:39 AM:
8:31:39 AM: `
8:31:39 AM: {
8:31:39 AM: "showcaseTemplates": *[_type == "reportTemplate"][0..4]{
8:31:39 AM: category,
8:31:39 AM: questions,
8:31:39 AM: isFeatured,
8:31:39 AM: scheduleType,
8:31:39 AM: "currentSlug": slug.current,
8:31:39 AM: summary,
8:31:39 AM: title,
8:31:39 AM: },
8:31:39 AM: "agileTemplates": *[_type == "reportTemplate" && category == "Agile"][0..2]{
8:31:39 AM: category,
8:31:39 AM: content,
8:31:39 AM: isFeatured,
8:31:39 AM: "currentSlug": slug.current,
8:31:39 AM: summary,
8:31:39 AM: title,
8:31:39 AM: "relatedTemplates": related[]->{title,summary, "currentSlug":slug.current}
8:31:39 AM: },
8:31:39 AM: "productivityTemplates": *[_type == "reportTemplate" && category == "Productivity"][0..2]{
8:31:39 AM: category,
8:31:39 AM: content,
8:31:39 AM: isFeatured,
8:31:39 AM: "currentSlug": slug.current,
8:31:39 AM: summary,
8:31:39 AM: title,
8:31:39 AM: "relatedTemplates": related[]->{title,summary, "currentSlug":slug.current}
8:31:39 AM: },
8:31:39 AM: "remoteTemplates": *[_type == "reportTemplate" && category == "Remote & Distributed"][0..2]{
8:31:39 AM: category,
8:31:39 AM: content,
8:31:39 AM: isFeatured,
8:31:39 AM: "currentSlug": slug.current,
8:31:39 AM: summary,
8:31:39 AM: title,
8:31:39 AM: "relatedTemplates": related[]->{title,summary, "currentSlug":slug.current}
8:31:39 AM: }
8:31:39 AM: }`
8:31:39 AM:
from gatsby-plugin-groq.
I should note, on alpha7
this happens on every build @kmcaloon
from gatsby-plugin-groq.
Hey @viperfx thanks for the heads up. Looks like the matchAll()
method is only supported starting from node 12.0.0. The new 1.0.0-alpha.8
release should clear this up on Netlify.
from gatsby-plugin-groq.
Thanks I am giving it a try.
I should note that I am using the following netlify plugin - https://github.com/jlengstorf/netlify-plugin-gatsby-cache
Which is meant to speed up builds. It might be causing the first error. When I clear cache and rebuild using the web UI, after a failed build, the error goes away.
from gatsby-plugin-groq.
Hey @viperfx, did it end up clearing things up for you?
from gatsby-plugin-groq.
@kmcaloon I did give it a try it was not 100% success rate. So I just disabled the cache plugin :)
from gatsby-plugin-groq.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-plugin-groq.