Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error retrieving function spec from your Convex deployment. Confirm that you are running this command from within a Convex project. #439

Open
The-Lone-Druid opened this issue Feb 6, 2025 · 1 comment

Comments

@The-Lone-Druid
Copy link

Issue

I'm encountering the "Error retrieving function spec from your Convex deployment" error when running npx convex-helpers open-api-spec. This prevents me from generating the TypeScript API specification.

To Reproduce

  1. Navigate to the Convex project directory: cd /path/to/my/convex/project (replace with your actual path)
  2. Run the command: npx convex-helpers open-api-spec

Expected behavior

I expect the command to successfully generate the OpenAPI specification based on OpenAPI Docs

Screenshots

Image

@thomasballinger
Copy link
Contributor

thomasballinger commented Feb 6, 2025

Sounds like this is on Windows, where npx doesn't work quite the same way. We may need to discover the convex executable differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants