Comments (5)
What version of groq-js are you using? We recently switched to TypeScript. Maybe something changed?
from groq-js.
Nothing that I can think of changed on my system since it last worked, and I have tried using different versions of the package. Has anyone run into a similar issue before?
Oh, I see you mentioned it here. Hmm. v0.1.4 and v0.1.7 would be the most important ones to try out.
from groq-js.
Yes, tried both. What is also weird is I have another local gatsby site using the same functionality and it is still working. It's on v0.1.5 and I also tried that with this site. The only differences I can think of is this problem site is using styled components with a babel macro for tailwind css, but I can't see why any of that would be related. I've tried troubleshooting by disabling plugins, reinstalling all packages a bunch of times, etc. etc. I took a look at the code and saw that the get()
method on the StreamValue
class has the following loop:
async get() {
let result = []
for await (let value of this) {
result.push(await value.get())
}
return result
}
Could this be resulting in an infinite loop for whatever reason? Again, it seems to be occurring with any dataset so I don't think that's the case. Will continue digging.
from groq-js.
Ah actually turns out 0.1.5 and below actually do work with this site. So the problem actually is with 0.1.7. Is there any way I can help debug?
from groq-js.
We've change things a bit internally. Could you try v0.2.0 and see if that's better?
from groq-js.
Related Issues (20)
- How to add an extension to have custom functions HOT 1
- filtering after following a reference breaking HOT 1
- global::operation() or delta::operation() HOT 1
- geo functions HOT 1
- pt function HOT 1
- dateTime namespace
- Export DateTime class HOT 1
- FuncCallNode should retain namespace
- Filter on a non-array should return the base value.
- All comparison operations should be non-associative
- `changedAny` and `changedOnly` functions HOT 1
- GROQ `| order(name asc)` sorts uppercase then lowercase e.g. ABGc not ABcG HOT 2
- Bracket syntax fails HOT 1
- Accessing nested objects fails HOT 3
- Accept different dataset names HOT 2
- Groq query stops to support parameters in slicing expression HOT 2
- GroqQueryError: Cannot determine property key for type: PipeFuncCall HOT 1
- .Net support for groq
- Possible issue with new GROQ functions HOT 2
- Dependency Dashboard
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 groq-js.