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

v2.0.0-beta.3 Error #171

Open
poshl9k opened this issue Nov 13, 2024 · 0 comments
Open

v2.0.0-beta.3 Error #171

poshl9k opened this issue Nov 13, 2024 · 0 comments

Comments

@poshl9k
Copy link

poshl9k commented Nov 13, 2024

Describe the bug
A clear and concise description of what the bug is.

yarn codegen
yarn run v1.22.19
$ openapi-rq -i http://127.0.0.1:8008/openapi.json
file:///...node_modules/@7nohe/openapi-react-query-codegen/dist/cli.mjs:22
        .choices(["@hey-api/client-fetch", "@hey-api/client-axios"])
         ^

TypeError: (intermediate value).choices is not a function
    at setupProgram (file:...node_modules/@7nohe/openapi-react-query-codegen/dist/cli.mjs:22:10)

To Reproduce
yarn codegen

Expected behavior

yarn codegen                                  
yarn run v1.22.19
$ openapi-rq -i http://127.0.0.1:8008/openapi.json
✨ Creating Fetch client
✨ Done! Your client is located in: E:\code\shedule_front_mantine\openapi\requests

OS:
Windows 11 x86_x64

Additional context

v2.0.0-beta.1 has no problems.
thx for you app btw 👍

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

1 participant