Zahid
Zahid3w ago

Error retrieving function spec from your Convex deployment......

I've also raised a GitHub Issue where I've explained the issue in more detail, do have a look on the screenshot as well.
No description
9 Replies
ballingt
ballingt3w ago
Any better error if you run npx convex function-spec? What backend are you running this against? Does npx convex dev work in this directory?
Zahid
ZahidOP3w ago
no errors while I run npx convex function-spec, it's a react-vite project and I'm following standard convex approach. also npx convex dev works fine
ballingt
ballingt3w ago
FYI @jordan What operating system, what terminal? It looks like it's a problem with the shelling out then @TheLoneDruid You can use a file path instead
Zahid
ZahidOP3w ago
It’s a windows machine, and using a bash terminal
ballingt
ballingt3w ago
store the output of npx convex function-spec in a file with npx convex function-spec --file and then run the npx convex-helpers open-api-spec command on that, with a flag
Zahid
ZahidOP3w ago
It worked like a charm 🔥 Thanks a lot for your quick support @Tom
ballingt
ballingt3w ago
What versions of convex-helpers and convex are you using @TheLoneDruid? thanks for reporting this, we'll take a look
Zahid
ZahidOP3w ago
{ "convex": "^1.18.2", "convex-helpers": "^0.1.71" }
ballingt
ballingt3w ago
thank you!

Did you find this page helpful?