openapi-generator-cli icon indicating copy to clipboard operation
openapi-generator-cli copied to clipboard

[BUG] version command fails in 2.4.3

Open myrcutio opened this issue 5 years ago • 1 comments

⚠️ 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:

  1. npm install -g @openapitools/[email protected]
  2. 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

myrcutio avatar Sep 15 '21 17:09 myrcutio

can you please give the latest version a a try to see if it's still an issue?

wing328 avatar Dec 29 '21 03:12 wing328