You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is really question/clarification. I followed the steps here where it says run npm install @openapitools/openapi-generator-cli, and then you can run openapi-generator-cli.
But when I run openapi-generator-cli version, I get this error:
> openapi-generator-cli version
Download 5.0.1 ...
Downloaded 5.0.1
C:\...\node_modules\@openapitools\openapi-generator-cli\main.js:621
error ? reject(new Error(stderr)) : resolve(stdout);
^
Error: 'java' is not recognized as an internal or external command,
operable program or batch file.
at C:\...\node_modules\@openapitools\openapi-generator-cli\main.js:621:32
at ChildProcess.exithandler (node:child_process:316:5)
at ChildProcess.emit (node:events:329:20)
at maybeClose (node:internal/child_process:1055:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
Do I need something else? I haven't installed Java on my machine. But the instruction does not say I need it.
Steps to Reproduce
Steps to reproduce the behavior:
On Windows 10 prompt, run:
npm install @openapitools/openapi-generator-cli
openapi-generator-cli version
Then you'd get the error.
Operation System (please complete the following information):
OS: Window
Version 10
The text was updated successfully, but these errors were encountered:
Question
This is really question/clarification. I followed the steps here where it says run
npm install @openapitools/openapi-generator-cli
, and then you can runopenapi-generator-cli
.But when I run
openapi-generator-cli version
, I get this error:Do I need something else? I haven't installed Java on my machine. But the instruction does not say I need it.
Steps to Reproduce
Steps to reproduce the behavior:
On Windows 10 prompt, run:
npm install @openapitools/openapi-generator-cli
openapi-generator-cli version
Then you'd get the error.
Operation System (please complete the following information):
The text was updated successfully, but these errors were encountered: