openapi-generator-cli
openapi-generator-cli copied to clipboard
[BUG] version command fails in 2.4.3
⚠️ Important Notice
Please differentiate the bug
This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.
Please also check if the bug is already known before you open a new bug.
🐛 Bug Report:
Describe the bug
version returns an error
Steps to Reproduce
Steps to reproduce the behavior:
npm install -g @openapitools/[email protected]npx @openapitools/openapi-generator-cli version
Expected behavior
Download 5.2.1 ...
Downloaded 5.2.1
Did set selected version to 5.2.1
5.2.1
Actual behavior
Unexpected token '?'
Operation System (please complete the following information):
- OSX 11.6
- Ubuntu 18.04
Package System (please complete the following information):
- npm 6.14.6
Additional context
Rolling back to 2.4.2 fixes the problem
can you please give the latest version a a try to see if it's still an issue?