Getting issue while using the openapi-generate (npx @rtk-query/codegen-openapi openapi-config.json) #3991
Unanswered
AamirAminBeam
asked this question in
Q&A
Replies: 1 comment
-
That usually indicates that you have multiple TypeScript versions or an incompatible TypeScript version installed in your project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im getting the below error
TypeError: typescript_1.default.identifierToKeywordKind is not a function
at Object.isValidIdentifier (/Users/aamiramin/Desktop/studio-app/node_modules/oazapfts/lib/codegen/tscodegen.js:260:30)
at getOperationIdentifier (/Users/aamiramin/Desktop/studio-app/node_modules/oazapfts/lib/codegen/generate.js:102:12)
at getOperationName (/Users/aamiramin/Desktop/studio-app/node_modules/oazapfts/lib/codegen/generate.js:111:16)
at getOperationName (/Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/generate.js:45:44)
at generateEndpoint (/Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/generate.js:153:31)
at /Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/generate.js:119:132
at Array.map ()
at generateApi (/Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/generate.js:119:103)
at async generateEndpoints (/Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/index.js:15:24)
at async run (/Users/aamiramin/Desktop/studio-app/node_modules/@rtk-query/codegen-openapi/lib/bin/cli.js:54:13)
error Command failed with exit code 1.
Beta Was this translation helpful? Give feedback.
All reactions